RTL kerning missing from font
See original GitHub issueThis is a strange one, but I don’t know how to help myself any further:
A font of mine doesn’t generate RTL kerning (or at least it doesn’t show in both FontGoggles and Indesign), while LTR kerning generates fine.
ufo2ft
code base is up-to-date with the repo.
I’ve had fontmake
export the debug feature file and pasted all the code relevant to the kerning pair را
below (ر
is supposed to be first from right, ا
is second):
languagesystem DFLT dflt; # Default, Default
languagesystem arab dflt; # Arabic, Default
@kern1.reh = [reh-ar ...];
@kern2.alef = [alef-ar ...];
lookup kern_Arab {
lookupflag IgnoreMarks;
pos @kern1.reh @kern2.alef <-100 0 -100 0>;
} kern_Arab;
feature kern {
script arab;
language dflt;
lookup kern_Arab;
} kern;
Looks correct, doesn’t it? Any idea where to look further? Thank you.
Issue Analytics
- State:
- Created a year ago
- Comments:26 (11 by maintainers)
Top Results From Across the Web
kerning.plist is not sufficient to do mixed RTL and LTR kerning
Yeah, I see the problem and it needs to be solved. To date, there have been RTL fonts produced with UFO, but the...
Read more >Resubmission: RTL Kerning Conversion Glyphs 2 to 3 - Glyphs Forum
this is an example of a new file (no convered data at all) and in the SEGMENT KERNING the RTL values are missing....
Read more >Dragging the second letter in RTL kerning - Font Forum
For all pairs ensure all values for the first are set to zero. Then the warning will disappear and the font will work...
Read more >Add right-to-left text – Figma Help Center
RTL fonts are available by default in Figma design. If a character isn't supported by the font you're using, Figma will fall back...
Read more >Kerning RTL Fonts Traditional Arabic Font Family
Kerning RTL Fonts Traditional Arabic Font Family ... https://docs.microsoft.com/en-us/typography/font-list/traditional-arabic ... Missing Channel Docker.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, I’m reopening this. There is still kerning missing. I’ll investigate further.
We maintain all the relevant libraries, so I don’t know why we are adding workarounds. Lets make things simple and robust: add two private keys for LTR and RTL kerning, and when ufo2ft sees them it uses them directly and don’t try to do any direction guessing. We have glyphsLib so we can build Glyphs sources with ufo2ft, not to convert to general purpose UFOs that can be consumed by arbitrary tools.