mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 21:45:06 +00:00
[instancer] add tests for gvar partial instancing
This commit is contained in:
parent
32cfa37e2e
commit
77b158c72d
10 changed files with 18 additions and 0 deletions
|
@ -72,6 +72,7 @@ EXTRA_DIST += \
|
|||
expected/collect_name_ids \
|
||||
expected/instantiate_colrv1 \
|
||||
expected/instantiate_cff2_update_metrics \
|
||||
expected/glyf_partial_instancing \
|
||||
fonts \
|
||||
profiles \
|
||||
$(NULL)
|
||||
|
|
|
@ -63,6 +63,7 @@ TESTS = \
|
|||
tests/collect_name_ids.tests \
|
||||
tests/instantiate_colrv1.tests \
|
||||
tests/instantiate_cff2_update_metrics.tests \
|
||||
tests/glyf_partial_instancing.tests \
|
||||
$(NULL)
|
||||
|
||||
# TODO: re-enable once colrv1 subsetting is stabilized.
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
--drop-tables+=MVAR,HVAR,VVAR,GDEF,COLR,GPOS
|
13
test/subset/data/tests/glyf_partial_instancing.tests
Normal file
13
test/subset/data/tests/glyf_partial_instancing.tests
Normal file
|
@ -0,0 +1,13 @@
|
|||
FONTS:
|
||||
Roboto-Variable.ABC.ttf
|
||||
Roboto-Variable.composite.ttf
|
||||
|
||||
PROFILES:
|
||||
no-tables-with-item-variations.txt
|
||||
|
||||
SUBSETS:
|
||||
*
|
||||
|
||||
INSTANCES:
|
||||
wght=300:600,wdth=85
|
||||
wght=200:300:500,wdth=80:90
|
|
@ -34,6 +34,7 @@ def generate_expected_output(input_file, unicodes, profile_flags, instance_flags
|
|||
args = ["fonttools", "varLib.instancer",
|
||||
"--no-overlap-flag",
|
||||
"--no-recalc-timestamp",
|
||||
"--no-optimize",
|
||||
"--output=%s" % instance_path,
|
||||
input_file]
|
||||
args.extend(instance_flags)
|
||||
|
|
|
@ -65,6 +65,7 @@ tests = [
|
|||
'collect_name_ids',
|
||||
'instantiate_colrv1',
|
||||
'instantiate_cff2_update_metrics',
|
||||
'glyf_partial_instancing',
|
||||
]
|
||||
|
||||
repack_tests = [
|
||||
|
|
Loading…
Add table
Reference in a new issue