Skip to main content

Module model

Module model 

Source
Expand description

Higher level interface for accessing font data.

Modulesยง

attribute
The width, style and weight of a font.
charmap
Character mappings for a font.
error ๐Ÿ”’
The error type for reading glyphs and evaluating font programs.
font ๐Ÿ”’
Font representation.
glyph
Glyph representations: outlines, bitmaps and color.
metrics
Metrics for a font and its glyphs.
name
Names of fonts and glyphs.
once ๐Ÿ”’
Choose between std::sync::OnceLock and once_cell::race::OnceBox based on the std feature.
variation
Variation axes and named instances.

Structsยง

Font
A font at one location in its design space.
InstanceBuilder
Builder for configuring a font instance.
TableFunction
Lazy, per table font data provided by a function.
Tables
Individual font table access.
Variation
A variation setting for a font instance.

Enumsยง

Blob
Font data as a blob of bytes.
Error
An error from reading a glyph or evaluating a program in the font.
Format
Format for a blob of font data.
Kind
The underlying type of a font.
Source
Source for font data.

Type Aliasesยง

NormalizedCoord
A normalized variation coordinate in 2.14 fixed point in the range [-1.0, 1.0].