Noticed this in NotoSansKannada, where we are generating a lookup with the RTL flag set, despite the fact that kannada is an LTR script.
The issue here is with various subscript glyphs, which do not have cmap entries. The logic for assigning glyphs to a writing direction requires a glyph to be explicitly LTR in order to end up in an LTR lookup, and any glyph that is not explicitly LTR is treated as RTL:
|
if glyphName not in dirGlyphs["LTR"] |
I'm really not sure what a reasonable solution to this problem is, but I wanted to at least open an issue describing it.
Noticed this in NotoSansKannada, where we are generating a lookup with the RTL flag set, despite the fact that kannada is an LTR script.
The issue here is with various subscript glyphs, which do not have cmap entries. The logic for assigning glyphs to a writing direction requires a glyph to be explicitly LTR in order to end up in an LTR lookup, and any glyph that is not explicitly LTR is treated as RTL:
ufo2ft/Lib/ufo2ft/featureWriters/cursFeatureWriter.py
Line 76 in 98e8916
I'm really not sure what a reasonable solution to this problem is, but I wanted to at least open an issue describing it.