TESTER

load_text

load_text(filename, size, [timeout])

Loads a font file (ttf, otf) at a given size from the specified folder or the system font directories, and makes it active for subsequent text() calls.

Syntaxe

load_text(filename="Arial.ttf", size=15)

Arguments

NameRequiredDefaultDescription
filenameyes-Path to a TrueType/OTF font file
sizeyes-Font size
timeout--Network timeout in ms (optional)