Common Desktop Environment: Internationalization Programmer's Guide

Font List Specification

A font list specification can consist of one or more entries, each of which can be either a font specification or a font set specification.

Each entry can be tagged with a name that is used when drawing a compound string. The tags are application-defined and are usually names representing the expected style of font; for example, bold(), italic(), bigbold(). A null tag is used to denote the default entry and is associated with the XmFONTLIST_DEFAULT_TAG identifier used in XmString() functions.

A font tag is identified when it is prefixed with an = (equal sign); for example, =bigbold() (this matches the first font defined at the server). If an = is specified but there is no name following it, the specification is considered the default font list entry.

A font set tag is identified when it is prefixed with a : (colon); for example, :bigbold() (this matches the first server set of fonts that satisfy the locale). If a : is specified but no name is given, the specification is considered the default font list entry. Within a font list entry specification, a base name list is separated by ; (semicolons) rather than by , (commas).

Example Font List Specification

For the Latin 1 locales, enter:

-*-r-*-14-*: ,\         
            # default font list entry -*-b-*-18-*:bigbold
            # Large Bold fonts