[instancer] add tests

Also update tests to gei rid of no-tables-with-item-variations profile
pull/4455/head
Qunxin Liu 1 year ago committed by Behdad Esfahbod
parent 8585d600c4
commit 57dac23d79
  1. 1
      test/subset/data/Makefile.am
  2. 1
      test/subset/data/Makefile.sources
  3. BIN
      test/subset/data/expected/empty_region_vardata/RobotoFlex-Variable.ABC.default.retain-all-codepoint.wght=200-300,opsz=14.ttf
  4. BIN
      test/subset/data/expected/empty_region_vardata/RobotoFlex-Variable.ABC.default.retain-all-codepoint.wght=400,wdth=100,opsz=14.ttf
  5. 0
      test/subset/data/expected/glyf_partial_instancing/Roboto-Variable.ABC.default.retain-all-codepoint.wght=200-300-500,wdth=80-90.ttf
  6. 0
      test/subset/data/expected/glyf_partial_instancing/Roboto-Variable.ABC.default.retain-all-codepoint.wght=300-600,wdth=85.ttf
  7. 0
      test/subset/data/expected/glyf_partial_instancing/Roboto-Variable.composite.default.retain-all-codepoint.wght=200-300-500,wdth=80-90.ttf
  8. 0
      test/subset/data/expected/glyf_partial_instancing/Roboto-Variable.composite.default.retain-all-codepoint.wght=300-600,wdth=85.ttf
  9. BIN
      test/subset/data/expected/mvar_partial_instance/NotoSans-VF.abc.default.retain-all-codepoint.wght=200-600,wdth=80-90,CTGR=20-60.ttf
  10. BIN
      test/subset/data/expected/mvar_partial_instance/NotoSans-VF.abc.default.retain-all-codepoint.wght=300-600.ttf
  11. BIN
      test/subset/data/expected/mvar_partial_instance/NotoSans-VF.abc.default.retain-all-codepoint.wght=500-800.ttf
  12. 0
      test/subset/data/expected/update_def_wght/SourceSerifVariable-Roman.default.retain-all-codepoint.wght=300-600.ttf
  13. 0
      test/subset/data/expected/update_def_wght/SourceSerifVariable-Roman.default.retain-all-codepoint.wght=500-800.ttf
  14. 1
      test/subset/data/profiles/no-tables-with-item-variations.txt
  15. 13
      test/subset/data/tests/empty_region_vardata.tests
  16. 2
      test/subset/data/tests/glyf_partial_instancing.tests
  17. 2
      test/subset/data/tests/mvar_partial_instance.tests
  18. 2
      test/subset/data/tests/update_def_wght.tests
  19. 1
      test/subset/meson.build

@ -73,6 +73,7 @@ EXTRA_DIST += \
expected/collect_name_ids \
expected/instantiate_colrv1 \
expected/instantiate_cff2_update_metrics \
expected/empty_region_vardata \
fonts \
profiles \
$(NULL)

@ -64,6 +64,7 @@ TESTS = \
tests/collect_name_ids.tests \
tests/instantiate_colrv1.tests \
tests/instantiate_cff2_update_metrics.tests \
tests/empty_region_vardata.tests \
$(NULL)
# TODO: re-enable once colrv1 subsetting is stabilized.

@ -0,0 +1,13 @@
FONTS:
RobotoFlex-Variable.ABC.ttf
PROFILES:
default.txt
SUBSETS:
*
INSTANCES:
wght=400,wdth=100,opsz=14
wght=200:300,opsz=14

@ -3,7 +3,7 @@ Roboto-Variable.ABC.ttf
Roboto-Variable.composite.ttf
PROFILES:
no-tables-with-item-variations.txt
default.txt
SUBSETS:
*

@ -2,7 +2,7 @@ FONTS:
NotoSans-VF.abc.ttf
PROFILES:
no-tables-with-item-variations.txt
default.txt
SUBSETS:
*

@ -2,7 +2,7 @@ FONTS:
SourceSerifVariable-Roman.ttf
PROFILES:
no-tables-with-item-variations.txt
default.txt
SUBSETS:
*

@ -73,6 +73,7 @@ if get_option('experimental_api')
'glyf_partial_instancing',
'mvar_partial_instance',
'update_def_wght',
'empty_region_vardata',
]
endif

Loading…
Cancel
Save