Skip to main content

Crate zenith_layout

Crate zenith_layout 

Source
Expand description

Text-shaping layer for Zenith.

Shapes a text run into positioned glyphs using rustybuzz + ttf-parser (the same proven stack as the sibling oxipdf project). All third-party types are confined to rustybuzz_engine; downstream crates see only Zenith-owned records.

Re-exports§

pub use engine::FallbackResult;
pub use engine::PositionedGlyph;
pub use engine::ShapeRequest;
pub use engine::TextDirection;
pub use engine::TextLayoutEngine;
pub use engine::ZenithGlyphRun;
pub use error::LayoutError;
pub use font_meta::FaceMetadata;
pub use font_meta::face_metadata;
pub use rustybuzz_engine::RustybuzzEngine;

Modules§

engine
Zenith-owned text-layout types and the TextLayoutEngine trait.
error
Error types for zenith-layout.
font_meta
Font face metadata extraction via rustybuzz::ttf_parser.
rustybuzz_engine
rustybuzz-backed shaping engine for Zenith.