提交 c740c863 编写于 作者: G Garret Rieger

[subset] Add integration tests for SingleSubst.

上级 f49a5bec
......@@ -2,6 +2,7 @@ TESTS = \
tests/basics.tests \
tests/full-font.tests \
tests/japanese.tests \
tests/layout.tests \
$(NULL)
XFAIL_TESTS = \
......
......@@ -9,4 +9,3 @@ SUBSETS:
abc
Ǽ!A bc
×ØÙÚÞ
FONTS:
Roboto-Regular.smallcaps.ttf
PROFILES:
keep-layout.txt
keep-layout-retain-gids.txt
SUBSETS:
ABC
AC
C
A
ÊË
......@@ -19,14 +19,15 @@ def usage():
def generate_expected_output(input_file, unicodes, profile_flags, output_path):
args = ["fonttools", "subset", input_file]
args.extend(profile_flags)
args.extend(["--notdef-outline",
"--name-IDs=*",
"--name-languages=*",
"--name-legacy",
"--drop-tables+=DSIG,GPOS,GSUB,GDEF",
"--layout-features=*",
"--unicodes=%s" % unicodes,
"--output-file=%s" % output_path])
args.extend(profile_flags)
check_call(args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册