Skip to main content

FontNameInfo

ClassDataClassSource

FontNameInfo(name: str, name_id: Literal[1, 2, 4], lang_id: FontLanguage)

The information of a font name.

Fields​

NameTypeRequired
Description
namestrThe name string.
name_idLiteral[1, 2, 4]

This ID is used for tagging the font type.

  1. Font family name.
  2. Font sub-family name.
  3. Font full name.
lang_idFontLanguageThe language code of this font name.