* 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
11 lines
217 B
Python
11 lines
217 B
Python
from fontTools import ttLib
|
|
|
|
superclass = ttLib.getTableClass("hmtx")
|
|
|
|
class table__v_m_t_x(superclass):
|
|
|
|
headerTag = 'vhea'
|
|
advanceName = 'height'
|
|
sideBearingName = 'tsb'
|
|
numberOfMetricsName = 'numberOfVMetrics'
|