Predefined Variables

Previous 

Predefined font variables

These variables can be used in several places where variables are supported, including preview text and font export.

Variable

Content of the variable

 

 

{FONT_NAME}

The name of the font, for example Times New Roman Bold Italic.

{FONT_FAMILY_NAME}

The font family name of the font, for example Times New Roman.

{FONT_STYLE}

The style of the font, for example Bold Italic.

{FONT_VERSION_STRING}

The version of the font, for example Version 2.90.

{FONT_TYPE}

The font type, for example OpenType font with TrueType outlines.

{FONT_TYPE_SHORT}

The font type in short format, for example OT(TT).

{FONT_EMBEDDING}

The font embedding, for example Installable.

{FONT_STATUS}

The font status, for example Installed

{FONT_PANOSE}

The font PANOSE value in hexadecimal format, for example 2B66222324

{FONT_WEIGHT}

The font weight, for example Bold

{FONT_WIDTH}

The font width, for example Condensed

{FONT_COPYRIGHT}

The font copyright information.

{FONT_COPYRIGHT_100}

The font copyright information, limited to at most 100 characters.

{FONT_COPYRIGHT_150}

The font copyright information, limited to at most 150 characters.

{FONT_TRADEMARK}

The font trademark information.

{FONT_TRADEMARK_100}

The font trademark information, limited to at most 100 characters.

{FONT_TRADEMARK_150}

The font trademark information, limited to at most 150 characters.

{FONT_DESIGNER}

Link to the font designer.

{FONT_VENDOR}

Link to the font vendor.

{FONT_GROUPS}

All groups containing this font separated by a "-"

{FONT_FILE_SIZE}

The size of the font file, for example 4 KB.

{FONT_FILE_SIZES}

The size of the font files, for example 3 KB|47 KB.

{FONT_FILE_SIZE_BYTES}

The size of the font file in bytes, for example 3,662 bytes.

{FONT_FILE_SIZES_BYTES}

The size of the font files in bytes, for example 3,572 bytes|55,379 bytes.

{FONT_UNIQUE_FONT_IDENTIFIER}

The unique font identifier

{FONT_NUM_GLYPHS}

The number of glyphs

{FONT_NUM_CHARS}

The number of characters

{FONT_FOUNDRY}

The font foundry

Predefined web export variables

These variables can be used in template file mainpage.htf.

Variable

Content of the variable

 

 

{FONT_COUNT}

The total number of fonts in the web export.

{GEN_DATE_TIME}

The date and time the web export was initiated.

{NAV_ALPHABET}

Displays a navigation bar.

These variables can be used in template file fontpage.htf.

Variable

Content of the variable

 

 

{CUR_SUB_COL}

Display the current navigation id.

{FONT_COUNT}

The total number of fonts in the web export.

{FONT_LIST}

A list of fonts that is composed with template fontitem.htf.

{TITLE}

The total number of fonts in the web export.

{NAV_ALPHABET}

Displays a navigation bar.

{NAV_SUB_PAGES}

Displays a navigation bar for sub pages.

Variables used in template fontitem.htf include the predefined font variables mentioned earlier as well as these variables:

Variable

Content of the variable

 

 

{FONT_PREVIEW_REL}

The relative URI of the font preview image.

{FONT_TYPE_REL}

The relative URI of the font type image.

{WEB_EXPORT_FONT_ID}

In the scope of the web export, this is a unique id. In the default template it is used as anchor name.

Predefined page print variables

All date and time variables use the corresponding date and time formats set in the Windows configuration on the computer on which you are running MainType.

Variable

Content of the variable

 

 

{DATE_TIME}

The current date and time.

{DATE}

The current date.

{TIME}

The current time.

{PAGE_NUMBER}

The number of the current page.

{NUMBER_OF_PAGES}

The total number pages.

{TITLE}

The title of the selected report.