Added desubroutinize option to generate-expected-outputs.py

Currently hb-subset always desubroutinizes CFF fonts.
Note that even with this option fonttools won't generate the expected subset CFF fonts. They were manually created & tweaked to match hb-subset output.
This commit is contained in:
Michiharu Ariza 2018-09-20 10:31:06 -07:00
parent f212c050ad
commit 321e592333

View File

@ -23,6 +23,7 @@ def generate_expected_output(input_file, unicodes, profile_flags, output_path):
"--name-languages=*", "--name-languages=*",
"--name-legacy", "--name-legacy",
"--drop-tables+=DSIG,GPOS,GSUB,GDEF", "--drop-tables+=DSIG,GPOS,GSUB,GDEF",
"--desubroutinize",
"--unicodes=%s" % unicodes, "--unicodes=%s" % unicodes,
"--output-file=%s" % output_path]) "--output-file=%s" % output_path])
check_call(args) check_call(args)