Closed Hoolean closed 1 year ago
Found a more severe production example; this issue causes ஆலூ to clash in Noto Serif Black Italic:
Thank you, that's helpful! When I try this with the new kern writer in ufo2ft, I hit https://github.com/googlefonts/ufo2ft/issues/702, so there are clearly some assumptions we are making about base/base base/mark kerning that are incorrect.
Indeedy, kerning-validator won't be happy testing with ufo2ft's main
until googlefonts/ufo2ft#705 is merged, although taking a peek we found that the bug has been wily enough to survive the refactor for script-based splitting 👹
We are going to have to introduce an additional split on pairs to break them into statements that only match contexts with no marks (for the base lookup) and that only match contexts with at least one mark (for the marks lookup), which should resolve this and a few other corner cases, and is the automatic equivalent of the current manual workaround : )
OK, so if I build with ufo2ft@a8c489d, it builds but kerning doesn't work. But joyously, ufo2ft@29b7ca5 fixes kerning:
Hello!
When testing ufo2ft across the Noto Fonts project we identified ufo2ft#706, which causes base-base kerning exceptions to apply incorrectly to kerning pairs that use groups containing marks.
We are making some noise here in case you wish to fix the issue in any releases you make before the bug is resolved upstream.
Reproducing
e.g. in sources
Note: this is a partial list; the affected pairs vary by UFO, which has been omitted for brevity.
e.g. in production fonts
Example pair: ௲லு should be kerned in googlefonts/ttf/NotoSerifTamil-Regular.ttf from the latest release but is not.
Workaround