1671 Commits

Author SHA1 Message Date
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
Behdad Esfahbod
2b115eaae8 [interpolatablePlot] Remove redundant code 2023-11-28 09:42:13 -07:00
Cosimo Lupo
abd34de8b7
[interpolatable] fix TypeError "not all arguments converted during string formatting"
https://github.com/fonttools/fonttools/actions/runs/7018011691/job/19092495402?pr=3354#step:5:3503
2023-11-28 11:41:21 +00:00
Behdad Esfahbod
4ff5916bf6 [interpolatablePlot] Tweak color opacities a bit 2023-11-27 20:30:14 -07:00
Behdad Esfahbod
6ae29fe386
Interpolatable structure area (#3356)
[interpolatable] Add an "underweight" check

Remove the old, black-magic, "wrong_structure" test.

See https://github.com/fonttools/fonttools/pull/3356 for commit trail.
2023-11-27 20:21:16 -07:00
Behdad Esfahbod
5738b4638a [interpolatable] Remove fixing countour start order for kinks
This was broken if multiple master-pairs tried to do the
same. Just leave it.
2023-11-27 13:10:05 -07:00
Behdad Esfahbod
5ce71286ac [interpolatablePlot] Black 2023-11-26 22:12:42 -07:00
Behdad Esfahbod
b5f022c5fd [interpolatable] Try drawing kink point at wrong-contour-order
I'm not sure it's correct, but doesn't seem to harm.
2023-11-26 22:11:31 -07:00
Behdad Esfahbod
c3213e20bb [interpolatablePlot] Comment 2023-11-26 21:41:38 -07:00
Behdad Esfahbod
050c6398c5 [interpolatable] Try adjusting for wrong-start-point in kinking 2023-11-26 21:21:46 -07:00
Behdad Esfahbod
e27b36f5a5 [interpolatablePlot] Don't apply kink-fixer if wrong-start-point 2023-11-26 21:02:18 -07:00
Behdad Esfahbod
578a6a9c2e [interpolatablePlot] Propose fix for kinks! 2023-11-26 20:28:50 -07:00
Behdad Esfahbod
1c35a2f43c [interpolatablePlot] Better kink-artifact highlighting 2023-11-26 15:35:54 -07:00