Expand description
Native FerroUI font fallback, Unicode bidi and text shaping for Pretext.
Call create_layout after configuring the application’s FerroUI font and
shaping backends. The adapter uses the same shapeable-character selection,
bidi algorithm and platform shaper as the framework’s text formatter.
For direct drawing, FerroTextService::shape_native retains the actual font
faces and returns FerroShapedText with native glyph runs. Glyph positions
use baseline-relative device-independent units; clusters use UTF-16 units.
Structs§
- Ferro
Shaped Text - Positioned portable glyph data together with its actual native font faces.
- Ferro
Text Measurer Factory - Connects Pretext to the application’s configured FerroUI text services.
- Ferro
Text Service - A fixed-font native measurement and glyph-shaping service.
Functions§
- create_
layout - Creates a Pretext engine using the current FerroUI text services.