11539 Commits

Author SHA1 Message Date
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
Colin M. Ford
bc17e738f0
a few more should > must 2023-11-28 22:07:55 -05:00
Colin M. Ford
67f858b598
change should to must 2023-11-28 18:08:17 -05:00
Colin M. Ford
2d5655cc38 xml examples of public.fontInfo 2023-11-28 15:20:20 -05:00
Behdad Esfahbod
2b115eaae8 [interpolatablePlot] Remove redundant code 2023-11-28 09:42:13 -07:00
Colin M. Ford
162a4590e0 Common Lib Key Registry Entry 2023-11-28 11:31:19 -05: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
Simon Cozens
b5ddc99fb9
linelike intersections (#3353)
* Replace linelike intersections with line-curve/line-line tests, fixes #3352

* Tests for #3352
2023-11-27 17:27:28 +00: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
Behdad Esfahbod
3780a36e29 [interpolatable] Tweak non-default --kinkiness 2023-11-26 15:25:17 -07:00
Behdad Esfahbod
5dfc9201fc [interpolatable] Tweak kinkiness again 2023-11-26 15:18:06 -07:00
Behdad Esfahbod
2e20c76e32 [interpolatable] Black 2023-11-26 14:59:36 -07:00
Behdad Esfahbod
758b16fdf0 [interpolatable] Make the kink-detector a lot more conservative
Most kinks are not visible at regular outline sizes. We
don't want to pollute the report with them.

One can still use the --kinkiness parameter to get more
kinky.
2023-11-26 14:45:06 -07:00
Behdad Esfahbod
79522fcd31 [interpolatable] Reduce DEFAULT_KINKINESS_LENGTH again :(
Means more kinks. But this was necessary to get
EBGaramond-Italic glyph "F" to show the really bad kinks.
2023-11-26 12:50:18 -07:00
Behdad Esfahbod
8ec28bcafa [interpolatable] Different way of weeding out small kinks
Seems to work better.
2023-11-26 12:24:16 -07:00
Behdad Esfahbod
048aa59c8e [interpolatable] Fix copilot snafu 2023-11-26 11:29:16 -07:00
Behdad Esfahbod
f45eac6e5a [interpolatable] Less corner kinks hopefully 2023-11-26 11:26:03 -07:00
Behdad Esfahbod
b3697e26dd [interpolatable] More variable reuse 2023-11-26 11:23:53 -07:00
Behdad Esfahbod
ae0fac9297 [interpolatable] Don't report kinks for sharp corners 2023-11-26 10:58:59 -07:00
Behdad Esfahbod
0e1113c1bb [interpolatable] Minor variable reuse 2023-11-26 10:51:00 -07:00
Behdad Esfahbod
6a87a3cb2f [interpolatable] Reduce min kink handle length 2023-11-26 10:08:20 -07:00
Behdad Esfahbod
e4aae525d9 [interpolatable] Allow --kinkiness=0 2023-11-26 09:58:29 -07:00
Behdad Esfahbod
db77f3f592 [interpolatable] Revert back kinkiness to .5
I need a better, adaptive, fix to weed out the unimportant ones.
2023-11-26 09:49:33 -07:00
Behdad Esfahbod
ed8056e7a2 [interpolatable] Reduce kinkiness default a bit 2023-11-26 09:35:10 -07:00
Behdad Esfahbod
20b96eca5e [interpolatablePlot] Fix drawing of composite glyphs
Showed error in --show-all.
2023-11-26 09:14:17 -07:00
Behdad Esfahbod
8b36992761 [interpolable] Simplify 2023-11-25 23:03:57 -07:00
Behdad Esfahbod
21e48766fb [interpolatable] More tweak to "wrong_structure" 2023-11-25 22:37:57 -07:00