Font (FreeType)
font_path, then font_family discovery, then bundled fallback (IoskeleyMonoNerdFont-Regular.ttf). Fallback faces mmap lazily on first missing glyph.
Glyph cache evicts at 8192 entries and on allocation failure.
TextSystem
For RTL, CJK, and mixed-direction labels:hasStrongRtlUtf8/hasStrongRtlCodepoints: cheap bidi preflightmeasure,wrap,truncate,cursorRect: layout-facing APIsdraw: FreeType fast path or shaped glyph rasterization
text_system and text_scratch through otter-ui FrameOptions, or attach both to CommandList for direct rasterization.
HiDPI text
drawTextScaled/measureTextScaled: logical coords viaSurfacemeasureTextAtScale: explicit scale without aSurface
-Denable_text=false to omit the text stack entirely.
