return None
-ttx = which ("ttx")
+fonttools = which ("fonttools")
ots_sanitize = which ("ots-sanitize")
-if not ttx:
- print("TTX is not present, skipping test.")
+if not fonttools:
+ print("fonttools is not present, skipping test.")
sys.exit (77)
def cmd(command):
return 0
def run_ttx (file):
- print ("ttx %s" % file)
- return cmd([ttx, "-q", "-o-", file])
+ print ("fonttools ttx %s" % file)
+ return cmd([fonttools, "ttx", "-q", "-o-", file])
def strip_check_sum (ttx_string):
return re.sub ('checkSumAdjustment value=["]0x([0-9a-fA-F])+["]',