Behdad Esfahbod
|
9c7ffef55e
|
[instancer] Run black
|
2022-10-13 10:35:02 -06: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
|
3bdfb3e205
|
[instancer] Remove debug print
|
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
|
5ff9546531
|
[TupleVariation] Add __imul__
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
fbf796a0a9
|
[instancer] Use minimum/maximum instead of tuple indices
One of the cases is a bugfix in fact...
|
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
|
528bcdf1a2
|
[instancer] No need to check for scalar=1
The scaleDeltas() function does it.
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
d2cb561cee
|
[instancer] L4 avar mapping
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
24cd9dc00e
|
[instancer] Simplify avar mapping more
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
7330c78b10
|
[instancer] Towards L4 avar
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
d17d1355a2
|
[instancer] Simplify avar normalization
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
3108e52a90
|
[instancer] Remove redundant checks
|
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
|
8f6779d67e
|
[instancer] Fix the rest of tests
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
5254c9354c
|
[instancer] Fix most tests!
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
cff162579d
|
[instancer] Fix a few more tests
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
272e4e8999
|
[instancer] Fix a few more tests
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
5118e3327d
|
[instancer] Fix some more tests
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
0947ca6b6c
|
[instancer] Fix "drop" to some extent
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
d03879607b
|
[instancer] Make a few tests happy
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
f6ce737476
|
[instancer] Add assert
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
c3fa1b59ac
|
[instancer.solver] Return None as gain tent
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
fa7b219030
|
[instancer] Fix fvar with range change
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
3db83dd739
|
[instancer] Reuse var
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
407fd13554
|
[instancer] No need to check for scalar=0 here; solver does
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
4b4f65dda6
|
[instancer] Fix fvar axis default value
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
bf55b28c50
|
[instancer.solver] Implement no-gain in the general solution
This can replace the DefaultUnmoved
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
e94f564149
|
[instancer.solver] Start fleshing out L4
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
eef320e974
|
[instancer] Err, fixups
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
89dffd51ca
|
[instancer] Make some tests pass
The rest of the test suite needs drastic updates :(.
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
ac05ed19bb
|
[instancer] Fix code move
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
8ca0dab0c0
|
[instancer.solver] Simplify solver
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
32be0d46ec
|
[instancer.solver] Massage a bit
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
af9ab41d21
|
[instancer] Move solving code into instancer.solver module
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
7856a5cc46
|
[instancer] Merge pinTupleVariationAxes and limitTupleVariationAxisRanges
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
a8943d99c9
|
[instancer] Add an assert
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
d0e4758d3c
|
[instancer] Minor
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
fc14158cfd
|
[instancer] Fix setting default WWS for recent changes
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
6752d07c98
|
[instancer] Parse and percolate triples for axis values
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
eae0613a82
|
[instancer] Carry pinned locations as ranges of (value,value) in axisLimits
Towards L4 instancing.
|
2022-10-13 10:35:02 -06:00 |
|
Behdad Esfahbod
|
fdaea7a1d8
|
[instancer] Avoid unnecessary scaling
|
2022-10-13 10:35:02 -06:00 |
|
Cosimo Lupo
|
87bbb64061
|
[instancer] downgrade GSUB/GPOS version if there are no FeatureVariations after instancing
same as https://github.com/fonttools/fonttools/pull/2811 but moved the logic to _instantiateFeatureVariations directly, instead of after it
|
2022-09-13 10:44:26 +01:00 |
|
Behdad Esfahbod
|
aa2dae3be1
|
[instancer] Run black
|
2022-08-22 06:28:48 -06:00 |
|
Behdad Esfahbod
|
24c9fb6ffa
|
[cliTools] Rename fragment to suffix
|
2022-08-22 06:26:30 -06:00 |
|
Behdad Esfahbod
|
e146ddfd86
|
[cliTools.makeOutputFileName] Add fragment argument
And use it from subsetter and instancer.
Related to https://github.com/fonttools/fonttools/issues/1156
|
2022-08-19 12:20:21 -06:00 |
|
Behdad Esfahbod
|
a2ed526277
|
[--help] Remove end-of-line periods
|
2022-08-18 07:40:13 -06:00 |
|
Behdad Esfahbod
|
171670a15f
|
[instancer] Simplify a couple of things (#2732)
* [instancer] Simplify normalization
|
2022-08-15 11:47:09 -06:00 |
|
Behdad Esfahbod
|
13e592cadf
|
[instancer] Fix bug in _instantiateFeatureVariations()
Fixes https://github.com/fonttools/fonttools/issues/2733
|
2022-08-09 17:15:29 -06:00 |
|