Category: IGI
Syntax:
igiLoadFont:Int(path:String, size:Int)
Int
Loads a font for IGI text.
Takes path (A .ttf or .otf file), size (Its size in pixels).
Returns: A font handle for igiPushFont (0 if the file can't be loaded on desktop).
View detailed documentation online
Global title:Int = igiLoadFont("Media/MyFont.ttf", 28)
; ...
igiPushFont(title)
igiText("Game Over")
igiPopFont()
BambooBasic © 2026 Michael Denathorn