EBDT: Embedded Bitmap Data Table¶
-
class
fontTools.ttLib.tables.E_B_D_T_.BitmapGlyph(data, ttFont)[source]¶ -
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
fontTools.ttLib.tables.E_B_D_T_._createBitmapPlusMetricsMixin.<locals>.BitmapPlusMetricsMixin
-
fontTools.ttLib.tables.E_B_D_T_.BitmapPlusSmallMetricsMixin¶ alias of
fontTools.ttLib.tables.E_B_D_T_._createBitmapPlusMetricsMixin.<locals>.BitmapPlusMetricsMixin
-
class
fontTools.ttLib.tables.E_B_D_T_.ComponentBitmapGlyph(data, ttFont)[source]¶ -
fileExtension= '.bin'¶
-
getFormat()¶
-
readData(name, attrs, content, ttFont)¶
-
readMetrics(name, attrs, content, 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_1(data, ttFont)[source]¶ -
-
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]¶ -
-
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]¶ -
-
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]¶ -
-
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]¶ -
-
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]¶ -
-
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]¶ -
-
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]¶ -
-
dependencies= []¶
-
locatorName= 'EBLC'¶
-
merge(m, tables)¶
-
subset_glyphs(s)¶
-
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)
-