Description

Font resources are used to define different text styles which are referenced by labels, text fields, and other controls that display text.

Each resource specifies which of the system fonts (available for both Mac and PC) are used, which font size, color, alpha channel value, and style (bold, italic, underlined). If you want to use a custom truetype font, you can specify this truetype font file in the custom font field. Even when you are working with custom fonts, it is still good practice to specify a system font to function asĀ  fallback solution for characters that might not exist in a specific truetype font.

When distributing content sets that include truetype fonts, only include those fonts that can be freely distributed. Do not include fonts that need to be licensed.


Truetype fonts need to be based on Unicode tables to work correctly.



On this page:


Properties

PropertyDescription
Name

The name of the Font resource.

FontAllows you to select the system font to be used. These fonts are available on Windows and Mac or have their equivalents on Mac. If a custom truetype font is to be be used instead, you can define it under "Custom". In this case, the specified system family is only used as a fallback solution for characters that do not exist in the custom font file. For text edit controls that pop up a text edit field, the system font is also used to display the text during editing.
SizeDefines the font size in points.
StyleDefines the font style for the system font: bold, italic, underline.
Color
CustomAllows you to add a custom font. Drag and drop a truetype file on the custom field or click the open icon to choose the location and file.