Cosimo Lupo
1722f99182
PartialInstancer-VF.ttx: add composite glyph and vhea table
...
the glyph 'minus' references 'hyphen' as component, but doesn't have any deltas in gvar.
vhea table is required when vmtx is present.
2019-06-06 13:30:21 +01:00
Cosimo Lupo
5a530880c0
instancer: prune unused name records after instancing
2019-05-08 11:38:38 +01:00
Cosimo Lupo
89ce41be55
instancer_test: add test for instantiateSTAT
...
added a dummy STAT table to PartialInstancer-VF.ttx font that has all 4 AxisValue formats.
It doesn't have contain AxisValue for each fvar NamedInstance like the spec recommends, but it's ok for the sake of this test
2019-05-03 13:32:06 +01:00
Cosimo Lupo
2a1e6a1fd5
instancer_test: test instancing HVAR table
...
Aldo added AdvWidthMap to PartialInstancer-VF.ttx test font
2019-04-29 12:51:34 +02:00
Cosimo Lupo
002de44c13
instancer_test: add vmtx to PartialInstancer-VF.ttx
...
used in gvar unit tests in instancer_test.py
2019-04-29 12:51:34 +02:00
Cosimo Lupo
4a7ab3fee2
instancer: use VarStore.optimize() and remap MVAR records' VarIdx
...
in test font, add additional VarData subtable in MVAR.VarStore and check it gets merged after optimizing.
2019-04-16 11:23:39 +01:00
Cosimo Lupo
012d80db6d
instancer_test: added tests for MVAR table
...
I added an MVAR table to the PartialInstancer-VF.ttx test font with made-up deltas for
OS/2.yStrikeoutSize, post.underlinePosition and post.underlineThickness.
I defined 3 regions, one with only wght, one with only wdth, and one with both wdth and wght axes.
2019-03-25 13:19:38 +00:00
Cosimo Lupo
05c22b9122
instancer_test: added tests for instantiateCvar
2019-03-25 11:09:46 +00:00
Cosimo Lupo
126a2d9c38
Add partialInstancer_test.py and PartialInstancerTest-VF.ttx
...
Currently tests the instantiateGvar function only.
The test font contains two axes and a single glyph.
I shall make add more complexity later.
2019-03-12 19:44:33 +00:00