[subset] don't use hb repacker when generating test files from fonttools.

This commit is contained in:
Garret Rieger 2022-11-24 18:24:50 +00:00
parent ff3cac0ccd
commit 64e8707eca
9 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ def generate_expected_output(input_file, unicodes, profile_flags, instance_flags
"--no-overlap-flag", "--no-overlap-flag",
"--no-recalc-bounds", "--no-recalc-bounds",
"--no-recalc-timestamp", "--no-recalc-timestamp",
"--no-harfbuzz-repacker", # disable harfbuzz repacker so we aren't comparing to ourself.
"--output=%s" % instance_path, "--output=%s" % instance_path,
input_file] input_file]
args.extend(instance_flags) args.extend(instance_flags)
@ -45,6 +46,7 @@ def generate_expected_output(input_file, unicodes, profile_flags, instance_flags
args = ["fonttools", "subset", input_path] args = ["fonttools", "subset", input_path]
args.extend(["--drop-tables+=DSIG", args.extend(["--drop-tables+=DSIG",
"--drop-tables-=sbix", "--drop-tables-=sbix",
"--no-harfbuzz-repacker", # disable harfbuzz repacker so we aren't comparing to ourself.
"--unicodes=%s" % unicodes, "--unicodes=%s" % unicodes,
"--output-file=%s" % fonttools_path]) "--output-file=%s" % fonttools_path])
args.extend(profile_flags) args.extend(profile_flags)