Crate fontique

Source
Expand description

Font enumeration and fallback.

Structs§

Attributes
Primary attributes for font matching: FontWidth, FontStyle and FontWeight.
AxisInfo
An axis of variation for a variable font.
Blob
Shared data with an associated unique identifier.
Collection
Collection of fonts.
CollectionOptions
Options for a font collection.
FallbackKey
Describes a selector for fallback families.
FamilyId
Unique identifier for a font family.
FamilyInfo
Named set of fonts that are instances of a core design.
FontInfo
Representation of a single font in a family.
FontInfoOverride
Helper for specifying aspects of a font’s metadata to be overridden when the font is registered. Helpful when implementing a @font-face-like API, which allows those defining the fonts to specify certain font properties manually.
FontWeight
Visual weight class of a font, typically on a scale from 1.0 to 1000.0.
FontWidth
Visual width of a font– a relative change from the normal aspect ratio, typically in the range 0.5 to 2.0.
Language
A core struct representing a Unicode BCP47 Language Identifier.
Query
State for font selection.
QueryFont
Candidate font generated by a Query.
Script
Four byte tag representing a Unicode script.
SourceCache
Cache for font data loaded from the file system.
SourceCacheOptions
Options for a source cache.
SourceId
Unique identifier for a font source.
SourceInfo
Handle that associates font data with a unique identifier.
Synthesis
Suggestions for synthesizing a set of font attributes for a given font.

Enums§

FontStyle
Visual style or ‘slope’ of a font.
GenericFamily
Describes a generic font family.
QueryFamily
Family descriptor for a font query.
QueryStatus
Determines whether a font query operation will continue.
SourceKind
Font data that is either a path to the font file or shared data in memory.