Skip to content

FontLocaleType

Uncategorized - no domain claims this class yet. Categorize

Class Documentation

Edit documentation

The font files of a FontType for one locale. The FontType page describes how the client picks an entry.

Properties

FontFilePathBold

String = ""
Edit documentation

Path of a second font file that the client loads next to mFontFilePath, for bold text. When it is empty, the font has no bold file.

Examples:
  • ASSETS/UX/Fonts/BeaufortforLOL-Bold.otf

localeName

String = "en_us"
Edit documentation

The locale the entry applies to, compared with the client's locale ignoring case. An entry that does not set it counts as en_us, which makes it the fallback for every locale that has no entry of its own.

Examples:
  • ko_kr, zh_cn, ja_jp

mFontFilePath

String = ""
Edit documentation

Path of the font file for regular text. The client loads the file the first time a font uses it, and every font that names the same path shares the loaded file. Shipped values are .otf and .ttf files under ASSETS/UX/Fonts/.

Examples:
  • ASSETS/UX/Fonts/BeaufortforLOL-Regular.otf

Referenced by 1 class · 1 property