Skip to main content

Module font

Module font 

Source
Expand description

Font related types.

Modulesยง

pen ๐Ÿ”’
Types for collecting the output when drawing a glyph outline.

Structsยง

AdvanceWidthBatch
Safe batch view for glyph id / horizontal-advance updates.
BuiltinFontFuncs
Default implementations backed by font tables.
Font ๐Ÿ”’
An OpenType or PostScript font.
FontFeatureVariations ๐Ÿ”’
Feature variation selections for the layout tables.
FontInstance ๐Ÿ”’
A specific instance of a font, with a size and variation settings.
FontInstanceBuilder ๐Ÿ”’
Builder for configuring a font instance.
FontTableFunction ๐Ÿ”’
Lazy, per table font data provided by a function.
FontTables ๐Ÿ”’
Individual font table access.
FontVariation ๐Ÿ”’
A variation setting for a font instance.
RawAdvanceWidthBatch
Raw C-style view over a batch of glyph ids and advance widths.

Enumsยง

FontBlob ๐Ÿ”’
Font data as a blob of bytes.
FontFormat ๐Ÿ”’
Format for a blob of font data.
FontKind ๐Ÿ”’
The underlying type of a font.
FontSource ๐Ÿ”’
Source for font data.

Traitsยง

FontFuncs
Customizable font callback surface.

Type Aliasesยง

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