Expand description
Font metadata extraction and search.
This module opens font files, extracts searchable metadata from their
OpenType tables, and evaluates that metadata against a Query. The same
metadata model is used by live scans, cache files, and indexed search.
One file may yield multiple results because collection formats such as TTC and OTC can store several faces in a single container.
Made by FontLab https://www.fontlab.com/
Structs§
- Search
Options - Controls how the search engine runs: parallelism and traversal behavior.
- Typg
Font Face Match - A search result: one font face that matched the query.
- Typg
Font Face Meta - Everything we know about a single font face, extracted from its binary tables.
- Typg
Font Source - Where a font face lives on disk.
Functions§
- filter_
cached - Filter pre-loaded font metadata against a query. No disk I/O.
- search
- Search directories for fonts matching a query. The main entry point.
- search_
streaming - Search directories and stream results as they’re discovered.