Skip to main content

Module shaping_cache

Module shaping_cache 

Source
Expand description

Backend-agnostic shaping cache

Shared cache implementation for text shaping results. Used by HarfBuzz-based shapers to avoid expensive reshaping operations.

This module was extracted from duplicated code in typf-shape-hb and typf-shape-icu-hb to provide a single source of truth.

Structs§

CacheStats
Cache statistics
ShapingCache
Cache for shaping results
ShapingCacheKey
Key for caching shaping results

Type Aliases§

SharedShapingCache
Thread-safe shaping cache wrapper