Modules§
- knowledge
- Generated file from
knowledge.proto
Structs§
- Avatar
Proto - Axis
Proto - An axis in the GF Axis Registry
- Axis
Segment Proto - Designer
Info Proto - A designer listed on the catalog:
- Exemplar
Chars Proto - Space-separated lists of characters representative of a given language.
- Fallback
Proto - Family
Fallback Proto - Family
Proto - Font
Proto - Glyph
Group Proto - Google
Fonts - A view into the Google Fonts library.
- Language
Proto - Region
Proto - A region or territory as defined in the CLDR
- Sample
Text Proto - Script
Proto - Source
File Proto - A file to take from source and where to put it in dest Ex web/split/Roboto[wdth,wght].ttf => Roboto[wdth,wght].ttf
- Source
Proto - TagMetadata
- Metadata for a tag
- Tagging
- A tag entry for a family
- Target
Proto - Message so we can add additional fields like value in future
Enums§
- Font
Style - Font style preference for font selection (normal or italic)
- Target
Type Proto
Functions§
- exemplar
- Pick the exemplar font from a family.
- file_
descriptor FileDescriptorobject which allows dynamic access to files- iter_
languages - Iterate over all known languages.
- read_
family - Read a FamilyProto from a METADATA.pb file content.
- read_
tag_ metadata - Read tag metadata from tags/tags_metadata.csv
- read_
tags - Read tag entries from the tags/all directory.
- select_
font - Select the best matching font from a family given style and weight preferences.