11463 Commits

Author SHA1 Message Date
Behdad Esfahbod
8cdcadb403 [interpolatable] Don't show tolerance in HTML
Better for diffing.
2023-11-24 21:49:02 -07:00
Behdad Esfahbod
75fc570ec7 [interpolatable] Section html output by glyph
Makes it easier to search in the file, as well as
hopefully improve diffing.
2023-11-24 18:49:44 -07:00
Behdad Esfahbod
2422b22b66 [interpolatable] Fixup drawing all contour starts in --show-all 2023-11-24 18:15:55 -07:00
Behdad Esfahbod
cfdeff6357 [interpolatablePlot] Minor speedup 2023-11-24 17:04:47 -07:00
Behdad Esfahbod
cfa1649c37 [interpolatablePlot] Add contour color to legend 2023-11-24 17:02:33 -07:00
Behdad Esfahbod
77a94529cd [interpolatablePdf] Improve formatting 2023-11-24 16:53:47 -07:00
Behdad Esfahbod
fa728bca25 Revert "[interpolatable] Adaptive weights"
This reverts commit cc77673eed73b9ea3f20cc56aa101d4fca3db256.

While this had improved RobotoSerif-Italic results,
it was very adhoc and had some adverse effects.
Reverting to find a better solution.
2023-11-24 15:57:42 -07:00
Behdad Esfahbod
e45ccc53f9 [interpolatablePlot] Improve format
And add Legend.
2023-11-24 15:17:40 -07:00
Behdad Esfahbod
cc77673eed [interpolatable] Adaptive weights
Seems to reduce false-negatives in RobotoSerif-Italic.
2023-11-24 12:25:31 -07:00
Behdad Esfahbod
077ad09108 [interpolatable] black friday! 2023-11-24 11:44:28 -07:00
Behdad Esfahbod
b6c795cfea [interpolatable] Some more improvements
Specially about reported tolerance. Report the original
tolerance.
2023-11-24 11:37:20 -07:00
Behdad Esfahbod
f99774acf0 [interpolatable] Another fixup 2023-11-24 00:16:22 -07:00
Behdad Esfahbod
25704bfe00 [interpolatable] Centralize DEFAULT_TOLERANCE 2023-11-23 23:42:41 -07:00
Behdad Esfahbod
18dcfb6593 [interpolatable] Black 2023-11-23 23:30:33 -07:00
Behdad Esfahbod
1be97cdc17 [interpolatable] Another tweak
Resuls are mostly positivel
2023-11-23 23:23:19 -07:00
Behdad Esfahbod
a0941efecb [interpolatable] Report tolerance 2023-11-23 22:01:14 -07:00
Behdad Esfahbod
8019c7ba0a [interpolatable] Fix thinko 2023-11-23 20:58:50 -07:00
Behdad Esfahbod
d6f8b08820 Remove debug print 2023-11-23 19:54:02 -07:00
Behdad Esfahbod
56ef14abe8 [interpolatablePlot] Black 2023-11-23 15:13:02 -07:00
Behdad Esfahbod
c5db48bc82 [interpolatablePlot] Better scale midway interpolation 2023-11-23 15:02:45 -07:00
Behdad Esfahbod
57729e49b1 [interpolatablePlot] Minor adjustment to cupcake 2023-11-23 13:44:58 -07:00
Behdad Esfahbod
b304cbd149 [interpolatable] Make cupcake the same page size as others 2023-11-23 09:38:08 -07:00
Behdad Esfahbod
22de9ef3d8 [interpolatable] Try harder matching contours
This improves a bunch of .notdef glyphs.
Only adverse effect is in AdventPro's --glyphs uni2116
2023-11-23 09:21:40 -07:00
Behdad Esfahbod
4591e255d2 [interpolatable] Fixup 2023-11-23 08:52:19 -07:00
Behdad Esfahbod
0c660e31f2 [interpolatable] Refactor some code 2023-11-23 08:50:52 -07:00
Behdad Esfahbod
39f4b79378 [interpolatablePlot] Use sha1 instead of sha256 2023-11-23 08:14:54 -07:00
Behdad Esfahbod
cfdbe69b4a [interpolatablePlot] Add a title page 2023-11-23 08:04:31 -07:00
Cosimo Lupo
37abe74b13
Bump version: 4.45.1 → 4.45.2.dev0 2023-11-23 09:23:38 +00:00
Cosimo Lupo
1ab8e22d26
Release 4.45.1 2023-11-23 09:23:36 +00:00
Cosimo Lupo
967cad9f31
Update changelog [skip ci] 2023-11-23 09:23:15 +00:00
Behdad Esfahbod
b30da672f0 Revert "[interpolatable] Use absolute sqrt area, not signed"
This reverts commit 772d1f8c7895f9b8844264488bd2b542c4391022.

The new false-positives were not worth it. It degrades
the suggested fix for some fonts, but at least they are
not false-positives.
2023-11-22 19:34:32 -07:00
Behdad Esfahbod
a72139f354 [interpolatable] Minor, remove a pair of unnecessary parentheses 2023-11-22 15:28:55 -07:00
Behdad Esfahbod
772d1f8c78 [interpolatable] Use absolute sqrt area, not signed
Results are improved. Two regressions only:
- Piazzolla uni046B
- Cairo oslash
2023-11-22 10:02:59 -07:00
Behdad Esfahbod
8ccc3b0d56 [interpolatable] Handle empty bounds 2023-11-22 09:22:35 -07:00
Behdad Esfahbod
1cd954d0ff [interpolatable] Tweak magic number
This removes a lot of false positives, and only seems
to introduce a few false positives for Handjet and Caveat.
2023-11-22 07:48:31 -07:00
Behdad Esfahbod
e8d212609f [interpolatable] More work and less play
Reduces false-positives more than it introduces.
2023-11-21 16:39:29 -07:00
Behdad Esfahbod
3465666edf [interpolatable] Comment 2023-11-21 14:54:34 -07:00
Behdad Esfahbod
377bb5a34b [interpolatable] Comment 2023-11-21 14:03:45 -07:00
Behdad Esfahbod
e413ee4c3a [interpolatablePlot] Make cupcake ASCII-only 2023-11-21 13:33:31 -07:00
Behdad Esfahbod
df74e78487 [interpolatablePlot] Minor, write label before shrug 2023-11-21 13:08:10 -07:00
Behdad Esfahbod
c689bb475a [interpolate] Add some Black Magic
See comments.

In particular, this reports glyph "intersection" in
Archivo fonts that are broken but otherwise will go
unnoticed.
2023-11-21 12:57:41 -07:00
Behdad Esfahbod
772dc549f3
[ttGlyphSet] Add option to not recalculate glyf bounds (#3348)
Avoids unnecessary work in the interpolator.
2023-11-21 12:06:57 -07:00
Behdad Esfahbod
62a28c2183 Revert "[interpolatable] Speed up one function"
This reverts commit c48067b109dd9750a4c960d898d2821974d94c5a.

Was slower in testing.
2023-11-21 10:10:51 -07:00
Behdad Esfahbod
c48067b109 [interpolatable] Speed up one function 2023-11-21 09:49:19 -07:00
Behdad Esfahbod
d20529a65e [interpolatable] Comment 2023-11-21 09:10:58 -07:00
Behdad Esfahbod
9c154e81c2 [interpolatable] Add --name 2023-11-20 20:29:06 -07:00
Behdad Esfahbod
d8db3f47a3 [interpolatable] Err; use right transform for second contour 2023-11-20 19:34:06 -07:00
Behdad Esfahbod
97ebce4977 [interpolatable] Use eigenmagic to reduce false-positives
Mostly in Italic fonts, like RobotoSerif-Italic.
2023-11-20 19:07:24 -07:00
Behdad Esfahbod
884a802eb3 [interpolatable] Report "nothing wrong" 2023-11-20 17:41:08 -07:00
Behdad Esfahbod
dbcdbb14ca [interpolatable] Minor elif 2023-11-20 17:39:59 -07:00