# CharacterInfo

> Specification for how to render a character from the font texture. See Font.characterInfo.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public struct CharacterInfo
```

## Remarks

Additional Resources: Example at [Font.RequestCharactersInTexture](/engine/6000.0/script-reference/unityengine/font/requestcharactersintexture.md).

## Fields

| Value                                                                       | Description                                                    |
| --------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [index](/engine/6000.0/script-reference/unityengine/characterinfo/index.md) | Unicode value of the character.                                |
| [size](/engine/6000.0/script-reference/unityengine/characterinfo/size.md)   | The size of the character or 0 if it is the default font size. |
| [style](/engine/6000.0/script-reference/unityengine/characterinfo/style.md) | The style of the character.                                    |

## Properties

| Property                                                                                    | Description                                                                                                                     |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| [advance](/engine/6000.0/script-reference/unityengine/characterinfo/advance.md)             | The horizontal distance, rounded to the nearest integer, from the origin of this character to the origin of the next character. |
| [bearing](/engine/6000.0/script-reference/unityengine/characterinfo/bearing.md)             | The horizontal distance from the origin of this glyph to the begining of the glyph image.                                       |
| [glyphHeight](/engine/6000.0/script-reference/unityengine/characterinfo/glyphheight.md)     | The height of the glyph image.                                                                                                  |
| [glyphWidth](/engine/6000.0/script-reference/unityengine/characterinfo/glyphwidth.md)       | The width of the glyph image.                                                                                                   |
| [maxX](/engine/6000.0/script-reference/unityengine/characterinfo/maxx.md)                   | The maximum extend of the glyph image in the x-axis.                                                                            |
| [maxY](/engine/6000.0/script-reference/unityengine/characterinfo/maxy.md)                   | The maximum extend of the glyph image in the y-axis.                                                                            |
| [minX](/engine/6000.0/script-reference/unityengine/characterinfo/minx.md)                   | The minium extend of the glyph image in the x-axis.                                                                             |
| [minY](/engine/6000.0/script-reference/unityengine/characterinfo/miny.md)                   | The minimum extend of the glyph image in the y-axis.                                                                            |
| [uvBottomLeft](/engine/6000.0/script-reference/unityengine/characterinfo/uvbottomleft.md)   | The uv coordinate matching the bottom left of the glyph image in the font texture.                                              |
| [uvBottomRight](/engine/6000.0/script-reference/unityengine/characterinfo/uvbottomright.md) | The uv coordinate matching the bottom right of the glyph image in the font texture.                                             |
| [uvTopLeft](/engine/6000.0/script-reference/unityengine/characterinfo/uvtopleft.md)         | The uv coordinate matching the top left of the glyph image in the font texture.                                                 |
| [uvTopRight](/engine/6000.0/script-reference/unityengine/characterinfo/uvtopright.md)       | The uv coordinate matching the top right of the glyph image in the font texture.                                                |
