rocinantealpha

reference / text

font

Sets the font, and its size, for the text drawn from now on: Inter or Inter Bold, a font file in assets/fonts, or a font installed on the computer, which is copied into assets/fonts.

background 250fill 30font "Inter" size 36text "Inter" at 30 40font "Inter Bold" size 36text "Inter Bold" at 30 100
what it draws: the whole window, 400 by 300
What the example of font draws

How to write it

font name [size number]

Related