Expand description
Query construction and evaluation for typg.
A Query describes the font you want. An empty query matches every font.
When multiple filters are set, they combine with AND logic: a match must
satisfy every active criterion.
The same query model is reused for live scans, cached searches, and indexed searches, so filter behavior stays consistent across the CLI, HTTP server, and Python bindings.
Made by FontLab https://www.fontlab.com/
Structs§
- Family
Class Filter - Filter for the OS/2 family-class field.
- Query
- Filter criteria for font search. Built with chained
with_*methods.
Functions§
- parse_
codepoint_ list - Parse a comma-separated list of codepoints or ranges into a
Vec<char>. - parse_
family_ class - Parse an OS/2 family class specifier into a
FamilyClassFilter. - parse_
tag_ list - Parse a slice of tag strings (e.g.
"wght","smcp") intoTagvalues. - parse_
u16_ range - Parse a single value or range of u16 numbers (e.g., “400” or “300-500”).