Skip to main content

Crate typf_shape_hr

Crate typf_shape_hr 

Source
Expand description

Pure Rust text shaping backend using harfrust

Harfrust is a pure Rust port of HarfBuzz, providing text shaping without any C dependencies. This makes it ideal for environments where compiling HarfBuzz is difficult or when a fully auditable Rust dependency tree is required.

Performance is within 25% of the C HarfBuzz implementation for most fonts.

Structs§

CacheStats
Cache statistics
HarfrustShaper
Pure Rust text shaping powered by harfrust
ShapingCache
Cache for shaping results
ShapingCacheKey
Key for caching shaping results

Type Aliases§

SharedShapingCache
Thread-safe shaping cache wrapper