[subset] Add subset integration tests using the full roboto font.

This commit is contained in:
Garret Rieger committed 2018-02-27 17:23:44 -08:00
1 parent 33f4381314
commit d31ace3274
6 files changed
+19 -4

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
TESTS = \
tests/basics.tests \
tests/full-font.tests \
$(NULL)
XFAIL_TESTS = \
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
FONTS:
Roboto-Regular.ttf
PROFILES:
default.txt
SUBSETS:
abc
Ǽ!A bc
+8 -4
View File
@@ -17,10 +17,14 @@ def usage():
def generate_expected_output(input_file, unicodes, output_path):
check_call(["fonttools", "subset",
input_file,
"--drop-tables+=DSIG,GPOS,GSUB,GDEF",
"--unicodes=%s" % unicodes,
"--output-file=%s" % output_path])
input_file,
"--notdef-outline",
"--name-IDs=*",
"--name-languages=*",
"--name-legacy",
"--drop-tables+=DSIG,GPOS,GSUB,GDEF",
"--unicodes=%s" % unicodes,
"--output-file=%s" % output_path])
args = sys.argv[1:]