Skip to main content

Crate serge_native_text

Crate serge_native_text 

Source
Expand description

serge-native-text — text shaping, line breaking and measurement for native targets on parley (pinned, docs/02-architecture.md §3), with system fonts and fallback (CJK included). Shaped runs become ScenePrimitive::Glyphs; renderers rasterize the glyph outlines.

Structs§

Font
The font type behind FontHandle on native targets. Owned shareable font resource.
Run
A shaped run.
TextLayout
A laid-out paragraph.
TextSystem
Fonts, scratch space and a layout cache. One per UI thread.