class
Tessell::Text::FontSet
- Tessell::Text::FontSet
- Reference
- Object
Defined in:
tessell/text/font_fallback.crConstructors
Instance Method Summary
- #add(font : FontRef) : Int32
- #font(id : Int32) : FontRef | Nil
- #font_count : Int32
-
#resolve(codepoint : UInt32) : Int32
Returns font_id (index in add order) of first covering font, or -1 if none.
Constructor Detail
Instance Method Detail
def resolve(codepoint : UInt32) : Int32
#
Returns font_id (index in add order) of first covering font, or -1 if none.