Skip to content

FontType

Uncategorized - no domain claims this class yet. Categorize

Class Documentation

Edit documentation

The font files of a typeface, per client locale. A GameFontDescription links one through typeData.

To build a font, the client picks one localeTypes entry:

  1. the entry whose localeName matches the client's locale, ignoring case,
  2. otherwise the last entry whose localeName is en_us,
  3. otherwise the first entry.

It then loads mFontFilePath and FontFilePathBold from that entry.

Properties

localeTypes

List<FontLocaleType> = []
Edit documentation

The font files per locale, as FontLocaleType entries. The class description gives the order the client picks an entry in.

Shipped types list the Latin font first, with no localeName, so the entry counts as en_us and serves every locale without its own entry. The entries after it name the locales that need another font, such as ko_kr, zh_cn, ja_jp, th_th and ar_ae.

Referenced by 2 classes · 2 properties