Bitmap-data helper modules
Overview:
The modules documented on this page are helpers for
fontTools.ttLib that implement lower-level support for various
table converters that need to interact with bitmapped data. The
BitmapGlyphMetrics module is used for the EBDT/EBLC and
CBDT/CBLC tables, and sbixGlyph and sbixStrike
are used for the sbix table.
fontTools.ttLib.tables.BitmapGlyphMetrics
- class fontTools.ttLib.tables.BitmapGlyphMetrics.BigGlyphMetrics[source]
Bases:
BitmapGlyphMetrics- binaryFormat = '\n > # big endian\n height: B\n width: B\n horiBearingX: b\n horiBearingY: b\n horiAdvance: B\n vertBearingX: b\n vertBearingY: b\n vertAdvance: B\n'
- class fontTools.ttLib.tables.BitmapGlyphMetrics.SmallGlyphMetrics[source]
Bases:
BitmapGlyphMetrics- binaryFormat = '\n > # big endian\n height: B\n width: B\n BearingX: b\n BearingY: b\n Advance: B\n'