EBDT: Embedded Bitmap Data Table

class fontTools.ttLib.tables.E_B_D_T_.BitAlignedBitmapMixin[source]
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)[source]
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)[source]
class fontTools.ttLib.tables.E_B_D_T_.BitmapGlyph(data, ttFont)[source]
ensureDecompiled(recurse=False)[source]
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)[source]
getFormat()[source]
readData(name, attrs, content, ttFont)[source]
readMetrics(name, attrs, content, ttFont)[source]
toXML(strikeIndex, glyphName, writer, ttFont)[source]
writeData(strikeIndex, glyphName, writer, ttFont)[source]
writeMetrics(writer, ttFont)[source]
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_.ByteAlignedBitmapMixin[source]
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)[source]
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)[source]
class fontTools.ttLib.tables.E_B_D_T_.ComponentBitmapGlyph(data, ttFont)[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)[source]
getFormat()
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
toXML(strikeIndex, glyphName, writer, ttFont)[source]
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.EbdtComponent[source]
fromXML(name, attrs, content, ttFont)[source]
toXML(writer, ttFont)[source]
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_1(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_2(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_5(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_6(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_7(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_8(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_9(data, ttFont)[source]
compile(ttFont)[source]
decompile()[source]
ensureDecompiled(recurse=False)
fileExtension = '.bin'
fromXML(name, attrs, content, ttFont)
getFormat()
readData(name, attrs, content, ttFont)
readMetrics(name, attrs, content, ttFont)
toXML(strikeIndex, glyphName, writer, ttFont)
writeData(strikeIndex, glyphName, writer, ttFont)
writeMetrics(writer, ttFont)
xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
class fontTools.ttLib.tables.E_B_D_T_.table_E_B_D_T_(tag=None)[source]
compile(ttFont)[source]
decompile(data, ttFont)[source]
dependencies = []
fromXML(name, attrs, content, ttFont)[source]
getImageFormatClass(imageFormat)[source]
locatorName = 'EBLC'
merge(m, tables)
subset_glyphs(s)
toXML(writer, ttFont)[source]

BitmapGlyphMetrics

class fontTools.ttLib.tables.BitmapGlyphMetrics.BigGlyphMetrics[source]
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'
fromXML(name, attrs, content, ttFont)
toXML(writer, ttFont)
class fontTools.ttLib.tables.BitmapGlyphMetrics.BitmapGlyphMetrics[source]
fromXML(name, attrs, content, ttFont)[source]
toXML(writer, ttFont)[source]
class fontTools.ttLib.tables.BitmapGlyphMetrics.SmallGlyphMetrics[source]
binaryFormat = '\n  > # big endian\n  height:   B\n  width:    B\n  BearingX: b\n  BearingY: b\n  Advance:  B\n'
fromXML(name, attrs, content, ttFont)
toXML(writer, ttFont)