* Replaced all from ...py23 import * with explicit name imports, or removed completely when possible. * Replaced tounicode() with tostr() * Changed all BytesIO ans StringIO imports to from io import ..., replaced all UnicodeIO with StringIO. * Replaced all unichr() with chr() * Misc minor tweaks and fixes
15 lines
416 B
Python
15 lines
416 B
Python
""" TSI{0,1,2,3,5} are private tables used by Microsoft Visual TrueType (VTT)
|
|
tool to store its hinting source data.
|
|
|
|
TSI2 is the index table containing the lengths and offsets for the glyph
|
|
programs that are contained in the TSI3 table. It uses the same format as
|
|
the TSI0 table.
|
|
"""
|
|
from fontTools import ttLib
|
|
|
|
superclass = ttLib.getTableClass("TSI0")
|
|
|
|
class table_T_S_I__2(superclass):
|
|
|
|
dependencies = ["TSI3"]
|