Interestingly, this can handle the examples from the AAT specification (which are part of the unit tests), and also most AAT fonts on my disk. However, some other AAT fonts such as Apple Chancery cannot be decompiled. The failure seems to be a general problem with how fonttools decompiles AAT lookups of format 4, and unrelated to this present change.
9 lines
269 B
Python
9 lines
269 B
Python
from __future__ import print_function, division, absolute_import
|
|
from fontTools.misc.py23 import *
|
|
from .otBase import BaseTTXConverter
|
|
|
|
|
|
# https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html
|
|
class table__o_p_b_d(BaseTTXConverter):
|
|
pass
|