This definition is used to define a font resource, used for rendering text.
<font name="..."
>
|
|
<fgffile
>
...
</fgffile>
|
The file name of a FGF file containing the font data. Overrides ttf tag. |
<ttf
>
|
|
<file
>
...
</file>
|
The file name of a TTF or OTF file containing the font data. |
<name
>
...
</name>
|
The font name to use from within the TTF file specified. |
<size
>
...
</size>
|
The pixel height to use for this font asset. |
<bold
>
...
</bold>
|
Optional. Specify that a bold version of the font should be used. Overrides weight tag. |
<weight
>
...
</weight>
|
Optional. Specify the weighting of the font that should be used, as defined by Microsoft LOGFONT parameters. |
<italic
>
...
</italic>
|
Optional. Specify that an italic version of the font should be used. |
<underline
>
...
</underline>
|
Optional. Specify that an underline version of the font should be used. |
<strikethrough
>
...
</strikethrough>
|
Optional. Specify that a strikethrough version of the font should be used. |
</ttf>
|
|
<color
>
...
</color>
|
The color used for the font, in the form #aarrggbb. If alpha is zero or not defined, FF is assumed. |
<shadow
>
|
Define to create text shadow. |
<offset
>
...
</offset>
|
The offset from the original text where the shadow text should be drawn. |
<color
>
...
</color>
|
The color to use when rendering the text shadow in RGB hexadecimal format. |
</shadow>
|
|
</font>
|
|