Selecting base font names of a font set associated with a developer's language is usually easy because the developer is familiar with the language and the set of fonts needed.
Yet, when selecting the base font names of a font set for various locales, this task can be difficult because an XLFD font specification consists of 15 fields. For localized usage, the following fields are critical for selecting font sets:
FAMILY_NAME %F
WEIGHT_NAME %W
SLANT %S
ADD_STYLE %A
SPACING %SP
This simplifies the number of fields, yet the possible values for each of these fields may vary per locale. The actual point size (POINT_SIZE) may vary across platforms.
Throughout this documentation, the following convention should be used when specifying localized fonts:
-dt-%F-%W-%S-normal-%A-*-*-*-%SP-*
The following describes the minimum set of recommended values for each field to be used within the desktop for the critical fields when specifying font sets in resource (app-defaults) files.
`dt'
`interface user'
`interface system'
`application'
medium or bold
r or i
sans or serif
p or m
The same values defined for ISO8859-1 are recommended.
`dt'
Gothic or Mincho
medium or bold
r
*
m
`dt'
Totum or Pathang
medium or bold
r
*
m
The FAMILY_NAME values may change depending on the official romanization of the two common font families in use. As background, Totum corresponds to fonts typically shipped as Gothic, Kodig, or Dotum; Pathang corresponds to fonts typically shipped as Myungo or Myeongjo.
`dt'
Sung and Kai
medium or bold
r
*
m
`dt'
Song and Kai
medium or bold
r
*
m