Common Desktop Environment: Internationalization Programmer's Guide

Default Font Set Per Language Group

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:

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.

Latin ISO8859-1 Fonts

FOUNDRY

`dt'

FAMILY_NAME

`interface user'

`interface system'

`application'

WEIGHT_NAME

medium or bold

SLANT

r or i

ADD_STYLE

sans or serif

SPACING

p or m

Other ISO8859 Fonts

The same values defined for ISO8859-1 are recommended.

JIS Japanese Font

FOUNDRY

`dt'

FAMILY_NAME

Gothic or Mincho

WEIGHT_NAME

medium or bold

SLANT

r

ADD_STYLE

*

SPACING

m

KSC Korean Font

FOUNDRY

`dt'

FAMILY_NAME

Totum or Pathang

WEIGHT_NAME

medium or bold

SLANT

r

ADD_STYLE

*

SPACING

m


Note -

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.


CNS Traditional Chinese Font

FOUNDRY

`dt'

FAMILY_NAME

Sung and Kai

WEIGHT_NAME

medium or bold

SLANT

r

ADD_STYLE

*

SPACING

m

GB Simplified Chinese Font

FOUNDRY

`dt'

FAMILY_NAME

Song and Kai

WEIGHT_NAME

medium or bold

SLANT

r

ADD_STYLE

*

SPACING

m