Skip to main content

glyph_slot_for_char

Function glyph_slot_for_char 

pub const fn glyph_slot_for_char(ch: char) -> usize
Expand description

Maps a Unicode char to its slot index [0..128) in the embedded MSDF atlas. Slots 0..95 cover printable ASCII 0x20..=0x7E; slots 95..128 cover Latin-1 and QualiaDB 10D technical symbols (α, μ, σ, Δ, Ω, π, ±, °, →, ↔, ≤, ≥).