Skip to main content

Module shaper_font

Module shaper_font 

Source
Expand description

The font data and callbacks visible to a shaping operation.

Structsยง

Advances
A batch of glyphs and their writable advances.
AdvancesIter
Iterates over glyphs and their writable advances.
GlyphExtents
The ink extents of a glyph.
LayoutCache ๐Ÿ”’
Font-wide layout data shared by shapers at different variation positions.
LayoutData ๐Ÿ”’
Prepared, read-only data for one font and variation position.
NominalGlyphs
A batch of codepoints and writable nominal glyphs.
NominalGlyphsIter
Iterates over codepoints and writable glyphs.
RawAdvances
Raw C-style view over a batch of glyphs and their writable advances.
RawNominalGlyphs
Raw C-style view over a batch of codepoints and output glyphs.
ShaperFont
A font configured for shaping and font queries.

Traitsยง

FontFuncs
Overrides character mapping and glyph metrics for a ShaperFont.

Functionsยง

arabic_pua_map ๐Ÿ”’
layout_cache ๐Ÿ”’
Returns cached layout data, or None if the read-fonts interop slot contains an unexpected type.
legacy_symbol_font_page ๐Ÿ”’

Type Aliasesยง

CharmapCache ๐Ÿ”’