Skip to main content

Module ot

Module ot 

Source

Modulesยง

apply ๐Ÿ”’
Matching of glyph patterns.
gpos
OpenType GPOS lookups.
gsub
OpenType GSUB lookups.
layout ๐Ÿ”’
OpenType layout.
lookup
The lookups of GSUB and GPOS, parsed once and kept with the font tables.
lookup_flags ๐Ÿ”’
map ๐Ÿ”’
shaper ๐Ÿ”’

Structsยง

CachedGdef ๐Ÿ”’
The parts of GDEF read while shaping.
CachedTables ๐Ÿ”’
The layout tables, parsed once and kept with the font tables.
GposTable
GsubTable
MarkSet ๐Ÿ”’
A mark glyph set, with a bitmap or digest that settles most queries.
OtCache
OtData
The OpenType layout data of a font, borrowed from its layout cache.

Enumsยง

LayoutTable
MarkGlyphSetBitmap

Constantsยง

MARK_GLYPH_SET_PAGE_BITS ๐Ÿ”’

Staticsยง

EMPTY_OT_CACHE ๐Ÿ”’
EMPTY_OT_DATA ๐Ÿ”’
EMPTY_TABLES ๐Ÿ”’

Functionsยง

is_gdef_blocklisted ๐Ÿ”’
Blocklist specific broken GDEF tables identified by the combination of GDEF, GSUB, and GPOS table lengths. Nuke the GDEF tables to avoid unwanted width-zeroing.