EBDT
: Embedded Bitmap Data table
The EBDT
table is an OpenType table.
This EBDT
table converter module depends on the
BitmapGlyphMetrics
module, which it shares with the EBLC
,
CBDT
, and CBLC
converters.
- class fontTools.ttLib.tables.E_B_D_T_.table_E_B_D_T_(tag=None)[source]
Bases:
DefaultTable
Embedded Bitmap Data table
The
EBDT
table contains monochrome or grayscale bitmap data for glyphs. It must be used in concert with theEBLC
table.See also https://learn.microsoft.com/en-us/typography/opentype/spec/ebdt
- locatorName = 'EBLC'
- subset_glyphs(s)
- class fontTools.ttLib.tables.E_B_D_T_.BitmapGlyph(data, ttFont)[source]
Bases:
object
- fileExtension = '.bin'
- xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
- fontTools.ttLib.tables.E_B_D_T_.BitmapPlusBigMetricsMixin
alias of
BitmapPlusMetricsMixin
- fontTools.ttLib.tables.E_B_D_T_.BitmapPlusSmallMetricsMixin
alias of
BitmapPlusMetricsMixin
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_1(data, ttFont)[source]
Bases:
ByteAlignedBitmapMixin
,BitmapPlusMetricsMixin
,BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_2(data, ttFont)[source]
Bases:
BitAlignedBitmapMixin
,BitmapPlusMetricsMixin
,BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_5(data, ttFont)[source]
Bases:
BitAlignedBitmapMixin
,BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_6(data, ttFont)[source]
Bases:
ByteAlignedBitmapMixin
,BitmapPlusMetricsMixin
,BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_7(data, ttFont)[source]
Bases:
BitAlignedBitmapMixin
,BitmapPlusMetricsMixin
,BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ComponentBitmapGlyph(data, ttFont)[source]
Bases:
BitmapGlyph
- class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_8(data, ttFont)[source]
Bases:
BitmapPlusMetricsMixin
,ComponentBitmapGlyph