Member attributes: FontName

This attribute specifies the name of the font represented by a font resource member.

Syntax

any‑text

Discussion

The attribute FontName determines the name of a Microsoft Windows TrueType font to use when generating code for the particular font resource member. The name can be any text as long as it specifies a TrueType font installed on your Windows system.

Modify the attribute

To inspect or modify the value of a FontName attribute, select first the affected font resource member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute. The assistant lists all fonts available on your Windows system:

Localization

The attribute FontName can be localized allowing the creation of font resource members optimized to display multilingual text. For this purpose expand the attribute by clicking on the small triangle left to the attribute. All available language specific values are listed thereupon below the attribute and can be modified individually:

If you haven't specified any particular language specific value for the attribute, the value from the fallback language Default is used automatically. Once localized values can be removed easily by pressing the keys CtrlR when the affected value is selected.