Optionalopts: GlyphAtlasOptionsReadonlyatlasReadonlybaselineReadonlycanvasReadonlyglyphReadonlyrowGet or lazily rasterise a glyph. Returns null when the atlas is full —
callers should fall back to a missing-glyph quad (typically the space
character or a small box).
Bumps each time a new glyph is rasterised so the renderer knows to re-upload.
Layout a UTF-16 string against the atlas. Code points outside the BMP are passed through as surrogate pairs which Canvas2D renders correctly. Empty advance entries are emitted for missing glyphs so the layout cursor still progresses.
out is filled with one record per code point. Returns the total advance
width in atlas pixels (caller uses this for alignment).
Distance from glyph top to baseline, constant for the chosen font size.