6964 Commits

Author SHA1 Message Date
Cosimo Lupo
7e92c6acf3
Bump version: 4.46.0 → 4.46.1.dev0 2023-12-02 12:09:16 +00:00
Cosimo Lupo
d38c2d5f2c
Release 4.46.0 2023-12-02 12:09:14 +00:00
Cosimo Lupo
6e14cda66a
Merge pull request #3363 from fonttools/append-fea-vars
[featureVars] don't overwrite FeatureVariations, append new records
2023-12-02 11:28:25 +00:00
Behdad Esfahbod
9994829fdb
Merge pull request #3364 from fonttools/interpolatable-remake
Interpolatable remake
2023-12-02 04:06:55 -07:00
Cosimo Lupo
6358b47682
[featureVars] don't overwrite FeatureVariations, append new records
Currently, addFeatureVariationsRaw always deletes existing GSUB.FeatureVariations and overwrites them with the newly built records.
It doesn't have to, though. If the features for which we are adding feature variations are not already "variable", we can simply append the DS-rules-generated records to the FeatureVariations.
We raise an error if the existing FeatureVariations already reference the same feature tags used for the DS rules, as that could generate ambiguity/undefined logic.
2023-12-02 10:10:41 +00:00
Behdad Esfahbod
0db0b355ba Fixup 2023-12-01 23:41:25 -05:00
Behdad Esfahbod
e22584785c Another try 2023-12-01 23:27:05 -05:00
Behdad Esfahbod
aa73b6b4d3 Fixup 2023-12-01 23:09:13 -05:00
Behdad Esfahbod
1243f97cc7 Another try 2023-12-01 22:46:54 -05:00
Behdad Esfahbod
cc8cb0e1ee Revert "[interpolatable] Fixup"
This reverts commit 8c505452aac18d4dba467746170f896c683d7773.
2023-12-01 22:45:27 -05:00
Behdad Esfahbod
8c505452aa [interpolatable] Fixup 2023-12-01 19:05:59 -05:00
Behdad Esfahbod
2dc53dbc4d [interpolatable] Fixup 2023-12-01 18:32:32 -05:00
Behdad Esfahbod
ee0936a781 [interpolatable] Fixup 2023-12-01 18:15:02 -05:00
Behdad Esfahbod
b8554fdad5 [interpolatablePlot] Draw \o/ if nothing wrong
In --show-all mostly
2023-12-01 18:00:14 -05:00
Cosimo Lupo
82021732ae
[featureVars] expose method to addGSUBFeatureVariations to existing VF
Fixes https://github.com/fonttools/fonttools/issues/3357
2023-12-01 18:54:15 +00:00
Cosimo Lupo
a2f6f2ffed
[featureVars] allow to assign same subst lookup to several feature tags
this can be useful to maximise layout engine compatibility or simply to have same feature variations substitutions be accessible via mutliple feature tags for whatever reason.

Fixes https://github.com/fonttools/fonttools/issues/2050
Fixes https://github.com/fonttools/fonttools/issues/3004
2023-12-01 16:53:31 +00:00
Cosimo Lupo
ee3d7c8f80
black 2023-12-01 16:20:50 +00:00
Behdad Esfahbod
5847d394fc [interpolatable] Fixup 2023-12-01 00:21:23 -05:00
Behdad Esfahbod
4764cb52af [interpolatable] Fixup 2023-12-01 00:18:12 -05:00
Behdad Esfahbod
97d571cd66 [interpolatable] Fixup 2023-12-01 00:14:15 -05:00
Behdad Esfahbod
8000927cbe [interpolatable] Move another test to its own file 2023-11-30 23:59:40 -05:00
Behdad Esfahbod
7636a2ebde [interpolatable] Fixup 2023-11-30 23:41:30 -05:00
Behdad Esfahbod
a97853871e [interpolatable] Refactor one test 2023-11-30 23:39:46 -05:00
Behdad Esfahbod
c984acc070 [interpolatable] Don't continue test if open contours 2023-11-30 23:29:37 -05:00
Behdad Esfahbod
7993bad2c4 [interpolatable] Add a Glyph class 2023-11-30 23:26:25 -05:00
Behdad Esfahbod
67a8706ed4 [interpolatable] Move some code into a helper file 2023-11-30 17:06:22 -05:00
Behdad Esfahbod
d9b9b3a1f6 [interpolatablePlot] Tweak colors a bit 2023-11-30 16:13:22 -05:00
Behdad Esfahbod
4994dfe909 [interpolatablePlot] Fix zero-point contours 2023-11-30 16:07:42 -05:00
Behdad Esfahbod
e3887b724d [interpolatable] Fix epsilon handling 2023-11-30 15:58:18 -05:00
Behdad Esfahbod
207a67e7d5 [interpolatable] Fix bots 2023-11-30 13:32:28 -05:00
Behdad Esfahbod
abc0e8e1c7 Merge branch 'interpolatable-overweight'
See https://github.com/fonttools/fonttools/pull/3359 for commit trail
2023-11-30 13:07:54 -05:00
Behdad Esfahbod
8ad4df935e [interpolatable] Bring back into shape of the main branch 2023-11-30 13:05:35 -05:00
Behdad Esfahbod
4581d93c26 [interpolatable] A rename 2023-11-30 12:50:53 -05:00
Behdad Esfahbod
182c6d24d4 [interpolatable] Minor names var use repr 2023-11-30 12:49:56 -05:00
Behdad Esfahbod
16a096f42a Disable overweight test 2023-11-30 12:48:46 -05:00
Behdad Esfahbod
13ef1ba2f0 [interpolatable] Add (unused) transform_from_stats 2023-11-29 22:58:13 -05:00
Behdad Esfahbod
e23fa9195c [interpolatablePlot] Copy from interpolatable-overweight branch 2023-11-29 22:51:59 -05:00
Behdad Esfahbod
e516d8af48 Another deadend 2023-11-29 22:49:53 -05:00
Behdad Esfahbod
8f021c5e11 ... 2023-11-29 18:03:50 -05:00
Behdad Esfahbod
9506c3732a [interpolatable] ... 2023-11-29 16:51:50 -05:00
Behdad Esfahbod
456097513c [interpolatable] Revert back some 2023-11-29 16:51:50 -05:00
Behdad Esfahbod
875d17c3f0 [interpolatable] Another approach 2023-11-29 16:51:50 -05:00
Behdad Esfahbod
41ed903d45 [interpolatable] One more try at overweight 2023-11-29 16:51:50 -05:00
Behdad Esfahbod
a15a9a946f [interpolatablePlot] Tweak overweight
Still far from working.
2023-11-29 16:51:50 -05:00
Behdad Esfahbod
447e8b865d black 2023-11-29 16:51:50 -05:00
Behdad Esfahbod
4f914dbbc2 [interpolatable] Calling it a night... 2023-11-29 16:51:49 -05:00
Behdad Esfahbod
219f1ed2f5 . 2023-11-29 16:51:49 -05:00
Behdad Esfahbod
8d9931a1e1 [interpolatable] Start adding "overweight" test 2023-11-29 16:51:49 -05:00
Behdad Esfahbod
9b98eaf9d7 [interpolatablePlot] Add underweight emoticon 2023-11-29 16:51:49 -05:00
Behdad Esfahbod
4c222bd044 [interpolatable] Fix stddev 2023-11-29 14:04:04 -07:00