Skip to reading
GDScript Programming & Godot

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. 350

Font definitions.

Native record route: Fonts.Get("body").

Append .Get("property.path", fallback) for a read or .Set("property.path", value) for a write. Replace the example record ID with one from your own project.

Source table from Designer: Fonts, page 272
Stored 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. Record 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 272 of 378Permalink
Go to page