googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
151 stars 43 forks source link

Split kerning by script, not by direction (third attempt) #679

Closed madig closed 1 year ago

madig commented 1 year ago

This is a clean-up PR for #667.

This implements:

Note that for reasons I have not investigated, various Noto Serif Tamil sources have some errant kerning, but they have the same problem with the current mainline kern writer.

Closes https://github.com/googlefonts/ufo2ft/issues/658

madig commented 1 year ago
anthrotype commented 1 year ago

while reading old issues, I stumbled on a long comment of mine that details the way the ufo2ft kernFeatureWriter worked:

https://github.com/unified-font-object/ufo-spec/issues/16#issuecomment-488751554

It would be nice to have a similar write up for the newly porposed split-by-scripts algorithm..