Expand description
Font enumeration and fallback.
Structs§
- Attributes
- Primary attributes for font matching:
FontWidth
,FontStyle
andFontWeight
. - Axis
Info - An axis of variation for a variable font.
- Blob
- Shared data with an associated unique identifier.
- Collection
- Collection of fonts.
- Collection
Options - Options for a font collection.
- Fallback
Key - Describes a selector for fallback families.
- Family
Id - Unique identifier for a font family.
- Family
Info - Named set of fonts that are instances of a core design.
- Font
Info - Representation of a single font in a family.
- Font
Info Override - 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. - Font
Weight - Visual weight class of a font, typically on a scale from 1.0 to 1000.0.
- Font
Width - Visual width of a font– a relative change from the normal aspect
ratio, typically in the range
0.5
to2.0
. - Language
- A core struct representing a
Unicode BCP47 Language Identifier
. - Query
- State for font selection.
- Query
Font - Candidate font generated by a
Query
. - Script
- Four byte tag representing a Unicode script.
- Source
Cache - Cache for font data loaded from the file system.
- Source
Cache Options - Options for a source cache.
- Source
Id - Unique identifier for a font source.
- Source
Info - Handle that associates font data with a unique identifier.
- Synthesis
- Suggestions for synthesizing a set of font attributes for a given font.
Enums§
- Font
Style - Visual style or ‘slope’ of a font.
- Generic
Family - Describes a generic font family.
- Query
Family - Family descriptor for a font query.
- Query
Status - Determines whether a font query operation will continue.
- Source
Kind - Font data that is either a path to the font file or shared data in memory.