Skip to main content

Crate gf_metadata

Crate gf_metadata 

Source

Modules§

knowledge
Generated file from knowledge.proto

Structs§

AvatarProto
AxisProto
An axis in the GF Axis Registry
AxisSegmentProto
DesignerInfoProto
A designer listed on the catalog:
ExemplarCharsProto
Space-separated lists of characters representative of a given language.
FallbackProto
FamilyFallbackProto
FamilyProto
FontProto
GlyphGroupProto
GoogleFonts
A view into the Google Fonts library.
LanguageProto
RegionProto
A region or territory as defined in the CLDR
SampleTextProto
ScriptProto
SourceFileProto
A file to take from source and where to put it in dest Ex web/split/Roboto[wdth,wght].ttf => Roboto[wdth,wght].ttf
SourceProto
TagMetadata
Metadata for a tag
Tagging
A tag entry for a family
TargetProto
Message so we can add additional fields like value in future

Enums§

FontStyle
Font style preference for font selection (normal or italic)
TargetTypeProto

Functions§

exemplar
Pick the exemplar font from a family.
file_descriptor
FileDescriptor object 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.