FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_pretext_media

    module · ferroui-pretext-media · v0.5.0

    module ferroui_pretext_media
    

    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.

    View source

    Contents

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.