Expand description
Font loading and face management for Typf.
This crate turns raw font files into face objects that the rest of the pipeline can query. It keeps the original bytes in memory and creates parser views on demand, which is important for two reasons:
- it avoids leaking long-lived parser objects,
- it supports collection files such as TTCs, where one file contains several faces and each face needs its own index.
Structsยง
- Font
Database - Collection of loaded font faces and their source metadata.
- Typf
Font Face - In-memory font face ready for shaping and rendering.
- Typf
Font Source - Source descriptor for one loaded font face.