Font Style

A Font Style represents a font selection that is used in the installer's dialog boxes and controls. To use a font style, you must first define one or more Font Localizations, then use the font style in the appropriate dialog box or control's Font setting. Most Font styles only have a single localization, but you may need to define additional localizations if the base font does not support all characters for all languages in a multilingual installer.

InstallMate dialog boxes do support per-dialog fonts; the dialog font is used for all controls in the dialog box that don't have their own font set. Because InstallMate dialog boxes are implemented as Windows dialog resources, the dialog box and all its controls scale with the dialog font size and aspect ratio. However, controls that use a different font still scale with the dialog font, not with their own font. You must therefore take care to avoid text clipping if a control uses a substantially larger font than its dialog box.

Attributes

The following attributes and options are available.

Attribute Description
Style name Enter the name for the font style. This name is used in InstallMate to refer to the style and must be unique among all font styles.

Predefined font styles

Each InstallMate project contains a number of predefined font styles that are used by the InstallMate dialog boxes. If you want to change a font style for all dialog boxes or controls at once, we recommend that you change the font settings of the appropriate predefined font style instead of making individual changes to each of the dialog boxes. This ensures that your dialog boxes maintain a consistent overall look.

Font style Description
BoldFont Used for dialog and control fonts that need extra emphasis. It uses the same typeface and size as DefaultUIFont but has its Bold attribute set.
DefaultUIFont Used for all Tarma dialog boxes and all controls that don't have a specific font set. This style uses the MS Shell Dlg pseudo-typeface and an 8pt size.
SubtitleFont Used for all page subtitles in dialog boxes. It currently uses the same typeface and size as DefaultUIFont, but you may change this if you want the subtitles to appear differently.
TitleFont Used for all page titles in dialog boxes. It uses a larger and heavier style and a different typeface (Tahoma; on Windows versions without this font, a different sans-serif typeface is automatically substituted).
UnderlineFont Used for controls that need an underline, in particular the Tarma hyperlink controls. It uses the same typeface and size as DefaultUIFont but has its Underline attribute set.

Related topics

Font styles, Working with attribute panes