Merge pull request #4368 from googlefonts/support_gvar

Initial implementation for gvar partial instancing
This commit is contained in:
Behdad Esfahbod authored and GitHub committed 2023-08-22 13:09:26 -07:00
commit 2023384bdf
21 files changed
+841 -86

No files matched your search

@@ -0,0 +1 @@
--drop-tables+=MVAR,HVAR,VVAR,GDEF,COLR,GPOS
@@ -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
+1
View File
@@ -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)
+4
View File
@@ -67,6 +67,10 @@ tests = [
'instantiate_cff2_update_metrics',
]
if get_option('experimental_api')
tests += 'glyf_partial_instancing'
endif
repack_tests = [
'basic',
'prioritization',