Skip to content

Search

Документация

font

The face a text draws in and how its glyphs are picked and drawn. A face file — .ttf, .otf, .ttc, or a .fnt bitmap face — is a font of itself, so a font…

Files live in fonts/. Used by text2d · font, text3d · font, widget · font.

The face a text draws in and how its glyphs are picked and drawn. A face file — .ttf, .otf, .ttc, or a .fnt bitmap face — is a font of itself, so a font row takes its path as it is; a definition shapes one differently. font_size, font_weight and font_style stay on the text: weight and style pick a face of the font's family among the project's fonts/.

type = "font"
source = "fonts/Inter-Regular.ttf"
features = ["smcp", "liga=0"]