Behdad Esfahbod
171741baf2
[varStore] Log XML when first assert fails in test
2023-05-24 15:36:06 -06:00
Behdad Esfahbod
a99e130b26
[Tests] Silence a few deprecation warnings
2023-05-24 14:38:41 -06:00
Behdad Esfahbod
abe2a37b6f
[varStore] Add another test
2023-05-24 13:30:08 -06:00
Behdad Esfahbod
b72a8da045
[varStore] Adjust encoding overhead in optimize()
...
Previously we were not accounting for the LOffset to VarData.
2023-05-24 13:21:33 -06:00
Behdad Esfahbod
0677c0e705
[varStore] Another bugfix in optimize()
2023-05-24 13:18:58 -06:00
Behdad Esfahbod
e4281b07bc
[varStore] Add test for optimize()
...
Doesn't hit all branches yet.
2023-05-24 12:51:24 -06:00
Behdad Esfahbod
4c24a3e328
[varLib/merger] Fix merging of SinglePos with pos=0
...
Fixes https://github.com/fonttools/fonttools/issues/3111
2023-05-19 18:37:15 +02:00
Behdad Esfahbod
5b96fff9ce
[featureVars] Process lookups for features other than rvrn last
...
Fixes https://github.com/fonttools/fonttools/issues/3097
2023-05-02 10:57:43 -06:00
Colin M. Ford
52f522525a
lastly, removing lib cruft from glyphs file
2023-04-06 11:04:47 -04:00
Colin M. Ford
ab7628b3f5
adding importerskip
for glyphsapp tests
2023-04-06 10:58:31 -04:00
Colin M. Ford
e7c9616c48
Removing UFO cruft
2023-04-06 10:44:10 -04:00
Colin M. Ford
579d0dce31
one more try with black
2023-04-06 10:08:42 -04:00
Colin M. Ford
9656e3faf1
formatting with black to get lint to pass
2023-04-05 22:33:38 -04:00
Colin M. Ford
45d1d01f66
adding more tests for varlib.interpolatable
2023-04-05 20:48:34 -04:00
Colin M. Ford
7a86dd325e
Rewriting varLib.interpolatable to allow for sparse masters + tests
2023-04-05 16:35:03 -04:00
Behdad Esfahbod
05872d6878
Merge pull request #2679 from fonttools/avar2
...
Avar2
2023-03-15 11:56:30 -06:00
Khaled Hosny
fd6c81585f
[otlib] Add a config option to write GPOS 7 lookups
...
See the inline comment and option documentation
2023-03-13 16:34:33 +02:00
Behdad Esfahbod
43b16df8db
[avar] Update test expectations
2023-03-08 11:10:07 -07:00
Cosimo Lupo
d9570826ad
varLib_test: test build_many doesn't overwrite pre-existing STAT
2023-03-08 12:40:43 +00:00
Cosimo Lupo
5955a47f42
[varLib] build_many(DSv5) from main(); add --output-dir & --variable-fonts options
...
Fixes https://github.com/fonttools/fonttools/issues/2659
2023-03-07 18:13:28 +00:00
Behdad Esfahbod
b7b4a3b090
[varLib.featureVars] Fix bug in overlayBox
...
See added test. Previously we were cutting remainder box
even if the intersection had dimensions not present in the
remainder box. Ouch!
Fixes https://github.com/fonttools/fonttools/issues/3003
2023-02-24 07:51:00 -07:00
Behdad Esfahbod
bf265ce49e
black
2023-02-08 14:27:48 -07:00
Behdad Esfahbod
da0e859767
Fix a couple of pytest warnings
2023-02-08 14:18:49 -07:00
Behdad Esfahbod
b821141eb7
[interpolatable_test] Test VarComposite
2023-01-31 13:44:20 -07:00
Behdad Esfahbod
0f1eb4673c
[instancer_test] Add varComposite test
2023-01-31 13:25:06 -07:00
Behdad Esfahbod
7899dd8dbc
[instancer] Limit axis ranges to that of fvar
...
Fixes https://github.com/fonttools/fonttools/issues/2959
2023-01-26 11:47:25 -07:00
Nikolaus Waxweiler
d584daa8fd
Blacken code
2022-12-13 11:26:36 +00:00
Cosimo Lupo
dbc3b48879
[instancer] udpdate OS/2 class and post.italicAngle when default moved (L4)
...
Previously we were only updating these when pinning wght/wdth/slnt axes.
Now we do whenever any of these axes defaults are changed, whether or not the axes are pinned or kept
Fixes https://github.com/fonttools/fonttools/issues/2885
2022-11-09 16:33:23 +00:00
Behdad Esfahbod
672c4bacdd
[instancer.featureVars] Address review comments
2022-11-04 11:55:48 -06:00
Behdad Esfahbod
ea2ae7df86
[instancer.featureVars] Add one more test
2022-11-03 17:15:40 -06:00
Behdad Esfahbod
392706949c
[instancer.featureVars] Fix deficiency in L4 instancing
...
See discussion on the issue. I think I got this right.
Fixes https://github.com/fonttools/fonttools/issues/2737
2022-11-03 14:55:01 -06:00
Behdad Esfahbod
6e156a7f13
[instancer] Split featureVars code into own module
...
Towards fixing https://github.com/fonttools/fonttools/issues/2737
2022-11-03 14:21:27 -06:00
Behdad Esfahbod
0f48f0a5ea
[varLib/featureVars] Insert rvrn lookups at beginning
...
Fixes https://github.com/fonttools/fonttools/issues/2140
Fixes https://github.com/googlefonts/fontmake/issues/950
2022-10-28 15:45:40 -06:00
Cosimo Lupo
0c30d96906
Update instancer tests to use triples as axis limits
2022-10-21 18:01:01 +01:00
Cosimo Lupo
40b2473a48
Merge pull request #2728 from fonttools/instancer-l4
...
[instancer] Towards L4 instancing
2022-10-21 16:39:09 +01:00
Jany Belluz
12d13f0b26
[designspaceLib] Fix recursion error with linkedUserValue in both directions
2022-10-18 17:32:14 +01:00
Cosimo Lupo
1dea06f66f
add tests for normalizeLocation(extrapolate=True)
...
These fails at the moment with various division-by-zero errors, fix in follow-up commit.
2022-10-13 18:35:45 +01:00
Behdad Esfahbod
e554ec1dc6
[instancer] Small fix for featureVariations instancing
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
1ff1a537e8
[instancer] Implement L4 featureVariations
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
3f7b250803
[instancer] Add test for FeatureVariations limiting range
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
5cbfe2a956
[instancer] Add test for parseLimits with default value
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
aabced171e
[instancer.solver] Fix case3 with gain
...
Ouch!
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7ee8414cab
[instancer.solver] Better handling of peak==axisDef
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
e08553011a
[instancer.solver] Handle when peak falls on new axis default
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
e2a875b26c
[instancer] Implement featureVariations L4 instancing
...
I *think* this is all.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d3e0a39362
[instancer] Fix more tests
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
11aa044515
[instancer] Fix another couple of tests
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
08c896f534
[instancer.solver] Cleanup tests of pytest.approx
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
eddc53c267
[instancer.solver] More test
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
743033d755
[instancer.solver] Use pytest.approx() in tests
2022-10-13 10:35:02 -06:00