PushFont
Make a previously loaded font the current font for this coroutine.
Syntax
Susano.PushFont(fontId) -> void
Parameters
fontId (number): Result of Susano.LoadFont.
Return(s)
None
Behavior
Pushes fontId on a per-coroutine font stack.
Affects subsequent Susano.DrawText and Susano.GetTextWidth.
Use size_px = 0 in DrawText to render at this font’s native size.
Example(s)
local id = Susano.LoadFont("C:/Windows/Fonts/RAVIE.TTF", 30)
Susano.PushFont(id)
Susano.DrawText(100, 100, "RAVIE @ native", 0, 1,1,1,1)
Susano.PopFont()