Expand description
Font face metadata extraction via rustybuzz::ttf_parser.
Reads the family name, weight, and style from a raw TTF/OTF byte slice
without loading a full shaping engine. Used at project-load time to
register asset-declared fonts in BytesFontProvider.
Structs§
- Face
Metadata - Metadata extracted from a font face’s name and OS/2 tables.
Functions§
- face_
metadata - Extract
FaceMetadatafrom raw font bytes at the given faceindex.