Hwaro::Content::Seo::OgPngRenderer::FontContext
Inherits Reference / Object
Pre-loaded font context for reuse across multiple render calls. Holds one fallback chain per typographic role — brand font first, then (when the content needs it) a CJK-capable system font, then the wide-coverage bundled DejaVu. Text is rendered run-by-run using the first chain font that covers each glyph. The same underlying font may appear in several chains; finalize frees each unique font exactly once.
Constructors
new(display : Array(Tuple(LibStb::HwaroFontInfo, Slice(UInt8))), text : Array(Tuple(LibStb::HwaroFontInfo, Slice(UInt8))), mono : Array(Tuple(LibStb::HwaroFontInfo, Slice(UInt8))))
SourceInstance methods
display
Sourcefinalize
Sourcemono
Sourcetext
Source