Closed yanone closed 1 year ago
cc @madig
did you define latn CAT in the global languagesystems?
or is there another GPOS feature apart from kern that uses script latn; language CAT
?
Yes, these language systems are defined:
languagesystem DFLT dflt; # Default, Default
languagesystem grek dflt; # Greek, Default
languagesystem arab dflt; # Arabic, Default
languagesystem latn dflt; # Latin, Default
languagesystem cyrl dflt; # Cyrillic, Default
languagesystem latn CAT; # Latin, Catalan
languagesystem latn NLD; # Latin, Dutch
languagesystem latn KAZ; # Latin, Kazakh
languagesystem latn TAT; # Latin, Tatar
languagesystem latn TRK; # Latin, Turkish
languagesystem latn CRT; # Latin, Crimean Tatar
languagesystem latn AZE; # Latin, Azeri
languagesystem latn MOL; # Latin, Moldavian
languagesystem latn ROM; # Latin, Romanian
languagesystem latn VIT; # Latin, Vietnamese
languagesystem cyrl BGR; # Cyrillic, Bulgarian
languagesystem cyrl SRB; # Cyrillic, Serbian
languagesystem arab URD; # Arabic, Urdu
All non-default languages are missing kerning.
I didn't check then, but I checked now: No other kerning features are defined other than the one already posted at the top.
or is there another GPOS feature apart from kern that uses script latn; language CAT?
Sorry, I didn't answer your question correctly. I don't have any other GPOS
features for these languages. They are all used in the locl
feature, so they're GSUB
.
seems to be intentional:
but it is nevertheless a bug in my opinion. The old kernFeatureWriter would register to all declared languages, not just dflt. Can you use ufo2ft v2.30.0 (stable release) instead of the pre-release or github main branch? at least while we investigate/fix thanks for reporting
Can you use ufo2ft v2.30.0 (stable release)
No, because the kerning of v2.30.0 was faulty for my font to begin with, which triggered Nikolaus rewriting it. It's not super urgent for me. As long as it gets recognized as an important bug that must affect all fonts, I'll wait. Thank you
Todo: add all languages the designer defined for existing scripts, keep using "dflt" for scripts we add dynamically.
@yanone can you please test with https://github.com/googlefonts/ufo2ft/pull/711?
@madig Looks good!
I'm guessing in the wake of the recent work on splitting kerning by scripts, kerning support got lost for non-default languages. (I'm using the lastest
main
codebase)Notice how
ldot
get replaced for Catalan but the kerning pairPa
disappears in the lower screenshot.Peeking into the feature file as produced by
fontmake
confirms: