Skip to reading
PCA Script Programming

Designer: Fonts

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Earlier edition reference / Current 0.86.4.0 property paths > p. 329

Font records describe imported/registered font data. A change to the definition may require controls to rebuild. It is not a system-font installation API.

Reference shape: fonts.body.property_path.

The example ID is illustrative. Choose an existing record in your own project; direct camera, spawn and objective lookups must be unambiguous.

Source table from Designer: Fonts, page 266
Property pathType / accessPurpose and limits
idtext R / DefinitionStable font ID.
nametext W / DefinitionFont display/editor name.
familytext W / DefinitionFont family label.
assetIdrecord W / DefinitionFont asset resource. Reference kind: assets.
styletext W / DefinitionFont style.
weightinteger W / DefinitionFont weight.
fallbacktext W / DefinitionComma-separated fallback font-family names.
enabledboolean W / DefinitionWhether this font is enabled.
customdictionary W / Definition / ContainerProject-defined font properties.
Page 266 of 357Permalink
Go to page