Merge pull request #3529 from fonttools/regenerate-table-lists
Regenerate table lists
This commit is contained in:
commit
369a21353a
@ -39,10 +39,10 @@ The following tables are currently supported::
|
||||
FFTM, Feat, GDEF, GMAP, GPKG, GPOS, GSUB, Glat, Gloc, HVAR, JSTF,
|
||||
LTSH, MATH, META, MVAR, OS/2, SING, STAT, SVG, Silf, Sill, TSI0,
|
||||
TSI1, TSI2, TSI3, TSI5, TSIB, TSIC, TSID, TSIJ, TSIP, TSIS, TSIV,
|
||||
TTFA, VDMX, VORG, VVAR, ankr, avar, bsln, cidg, cmap, cvar, cvt,
|
||||
feat, fpgm, fvar, gasp, gcid, glyf, gvar, hdmx, head, hhea, hmtx,
|
||||
kern, lcar, loca, ltag, maxp, meta, mort, morx, name, opbd, post,
|
||||
prep, prop, sbix, trak, vhea and vmtx
|
||||
TTFA, VARC, VDMX, VORG, VVAR, ankr, avar, bsln, cidg, cmap, cvar,
|
||||
cvt, feat, fpgm, fvar, gasp, gcid, glyf, gvar, hdmx, head, hhea,
|
||||
hmtx, kern, lcar, loca, ltag, maxp, meta, mort, morx, name, opbd,
|
||||
post, prep, prop, sbix, trak, vhea and vmtx
|
||||
|
||||
.. end table list
|
||||
|
||||
|
@ -3,7 +3,7 @@ def _moduleFinderHint():
|
||||
"""Dummy function to let modulefinder know what tables may be
|
||||
dynamically imported. Generated by MetaTools/buildTableList.py.
|
||||
|
||||
>>> _moduleFinderHint()
|
||||
>>> _moduleFinderHint()
|
||||
"""
|
||||
from . import B_A_S_E_
|
||||
from . import C_B_D_T_
|
||||
@ -50,6 +50,7 @@ def _moduleFinderHint():
|
||||
from . import T_S_I__3
|
||||
from . import T_S_I__5
|
||||
from . import T_T_F_A_
|
||||
from . import V_A_R_C_
|
||||
from . import V_D_M_X_
|
||||
from . import V_O_R_G_
|
||||
from . import V_V_A_R_
|
||||
|
@ -31,25 +31,28 @@ tables.sort()
|
||||
|
||||
with open(os.path.join(tablesDir, "__init__.py"), "w") as file:
|
||||
file.write(
|
||||
'''
|
||||
'''\
|
||||
# DON'T EDIT! This file is generated by MetaTools/buildTableList.py.
|
||||
def _moduleFinderHint():
|
||||
"""Dummy function to let modulefinder know what tables may be
|
||||
dynamically imported. Generated by MetaTools/buildTableList.py.
|
||||
"""Dummy function to let modulefinder know what tables may be
|
||||
dynamically imported. Generated by MetaTools/buildTableList.py.
|
||||
|
||||
>>> _moduleFinderHint()
|
||||
"""
|
||||
>>> _moduleFinderHint()
|
||||
"""
|
||||
'''
|
||||
)
|
||||
|
||||
for module in modules:
|
||||
file.write("\tfrom . import %s\n" % module)
|
||||
file.write(" from . import %s\n" % module)
|
||||
|
||||
file.write("\n")
|
||||
|
||||
file.write(
|
||||
"""
|
||||
if __name__ == "__main__":
|
||||
import doctest, sys
|
||||
sys.exit(doctest.testmod().failed)
|
||||
import doctest, sys
|
||||
|
||||
sys.exit(doctest.testmod().failed)
|
||||
"""
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user