The glyph for code in a font slot at size points, rasterized into the atlas on first use.
Falls back through the later fonts when the slot's font has no glyph for it.
- text: the text system holding the fonts and atlas.
- code: the code point.
- slot: which font to prefer.
- size: the font size in points.
get_glyph :: (
text: *Text_System,
code: u32,
slot: Font_Slot,
size: float
) -> Glyph
The glyph for code in a font slot at size points, rasterized into the atlas on first use.
Falls back through the later fonts when the slot's font has no glyph for it.
Parameters
- text: *Text_System
- the text system holding the fonts and atlas.
- code: u32
- the code point.
- slot: Font_Slot
- which font to prefer.
- size: float
- the font size in points.