From 321e592333014f713557e8ce8041dcb5de710218 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Thu, 20 Sep 2018 10:31:06 -0700 Subject: [PATCH] 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. --- test/subset/generate-expected-outputs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/subset/generate-expected-outputs.py b/test/subset/generate-expected-outputs.py index 9ebf082f..9bebbc39 100755 --- a/test/subset/generate-expected-outputs.py +++ b/test/subset/generate-expected-outputs.py @@ -23,6 +23,7 @@ def generate_expected_output(input_file, unicodes, profile_flags, output_path): "--name-languages=*", "--name-legacy", "--drop-tables+=DSIG,GPOS,GSUB,GDEF", + "--desubroutinize", "--unicodes=%s" % unicodes, "--output-file=%s" % output_path]) check_call(args) -- GitLab