[subset] Add subset integration tests using the full roboto font.
This commit is contained in:
parent
33f4381314
commit
d31ace3274
|
@ -1,5 +1,6 @@
|
||||||
TESTS = \
|
TESTS = \
|
||||||
tests/basics.tests \
|
tests/basics.tests \
|
||||||
|
tests/full-font.tests \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
XFAIL_TESTS = \
|
XFAIL_TESTS = \
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,10 @@
|
||||||
|
FONTS:
|
||||||
|
Roboto-Regular.ttf
|
||||||
|
|
||||||
|
PROFILES:
|
||||||
|
default.txt
|
||||||
|
|
||||||
|
SUBSETS:
|
||||||
|
abc
|
||||||
|
Ǽ!A bc
|
||||||
|
|
|
@ -17,10 +17,14 @@ def usage():
|
||||||
|
|
||||||
def generate_expected_output(input_file, unicodes, output_path):
|
def generate_expected_output(input_file, unicodes, output_path):
|
||||||
check_call(["fonttools", "subset",
|
check_call(["fonttools", "subset",
|
||||||
input_file,
|
input_file,
|
||||||
"--drop-tables+=DSIG,GPOS,GSUB,GDEF",
|
"--notdef-outline",
|
||||||
"--unicodes=%s" % unicodes,
|
"--name-IDs=*",
|
||||||
"--output-file=%s" % output_path])
|
"--name-languages=*",
|
||||||
|
"--name-legacy",
|
||||||
|
"--drop-tables+=DSIG,GPOS,GSUB,GDEF",
|
||||||
|
"--unicodes=%s" % unicodes,
|
||||||
|
"--output-file=%s" % output_path])
|
||||||
|
|
||||||
|
|
||||||
args = sys.argv[1:]
|
args = sys.argv[1:]
|
||||||
|
|
Loading…
Reference in New Issue