GoogleFontReady

Family: Font · One form

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) → integer

Parameters

NameType
fontIDinteger

Every form returns

integer

Example · generated

font = LoadGoogleFont("Inter")DO  Print(GoogleFontReady(font))  Sync()LOOP

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

8 commands in Font