Skip to main content

Crate typf_shape_hb

Crate typf_shape_hb 

Source
Expand description

HarfBuzz shaping backend for Typf.

Shaping is the step that turns characters into positioned glyphs. That work is simple for plain Latin text, but it becomes essential for Arabic joins, Devanagari conjuncts, Thai vowel placement, and any script where one character does not map cleanly to one painted glyph. This crate delegates that work to HarfBuzz and translates Typf’s neutral API into HarfBuzz calls.

Structs§

CacheStats
Cache statistics
HarfBuzzShaper
Text shaper backed by HarfBuzz.
ShapingCache
Cache for shaping results
ShapingCacheKey
Key for caching shaping results

Type Aliases§

SharedShapingCache
Thread-safe shaping cache wrapper