Closed yanone closed 3 months ago
OK, it looks like gftools-gen-stat
is adding the second STAT ital axis.
$ ttx -o - -t STAT googlefonts/variable/MonaSans-Italic\[wdth,wght\].ttf | grep Italic | grep Axis
Dumping "googlefonts/variable/MonaSans-Italic[wdth,wght].ttf" to "<stdout>"...
Dumping 'STAT' table...
<AxisNameID value="265"/> <!-- Italic -->
OK so far, but then...
$ gftools-gen-stat --src stat.yml googlefonts/variable/*ttf
Saving font to googlefonts/variable/MonaSans-Italic[wdth,wght].ttf.fix
Saving font to googlefonts/variable/MonaSans[wdth,wght].ttf.fix
$ noglob ttx -o - -t STAT googlefonts/variable/MonaSans-Italic[wdth,wght].ttf.fix | grep Italic | grep Axis
Dumping "googlefonts/variable/MonaSans-Italic[wdth,wght].ttf.fix" to "<stdout>"...
Dumping 'STAT' table...
<AxisNameID value="268"/> <!-- Italic -->
<AxisNameID value="268"/> <!-- Italic -->
I'll fix the problem in gftools, but the fix will be to make it exit with an error ital axis should not appear in stat config
. So please remove the ital axis from your config. :-)
Removing works indeed. Thank you.
Please see my fork of Mona Sans which has an updated
config.yaml
(saves to/googlefonts
,ital
axis instead ofslnt
).The new
ital
splitter works great, in some ways better than plainvarlib.instancer
in how it handles thefvar
instances.But Mona Sans now shows two
ital
axes in STAT, which I assume is a bug.Both Italic and Roman show a similar behaviour, except that the Italic says
Italic
in the first screenshot instead of(Roman)