What it does
GoogleFontReady takes fontID (an integer), and answers an integer. fontID is the id of a Font object, the one LoadFont returned: it is how the call knows what to act on.
Syntax
GoogleFontReady(fontID integer) → integerParameters
| Name | Type |
|---|---|
| fontID | integer |
Every form returns
integer
Example · generated
font = LoadGoogleFont("Inter")DO Print(GoogleFontReady(font)) Sync()LOOPLoadGoogleFont is there to give the call something to act on; GoogleFontReady is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.