In my Arabic font, the lam-alef ligature works in Text Preview window, but not in the Edit view. I’d like to understand why, so I can design ligatures in context.
Setup
- Glyphs 4 [version 4.1.1 (4108)], macOS [version 27.3 Beta (26C5047e)]
- Arabic font, [6] masters
rligcontains the standard lam-alef lookup, generated by Update Features:
script arab;
lookup rlig_arab_0 {
lookupflag IgnoreMarks;
sub lam-ar.init alef-ar.fina by lam_alef-ar;
sub lam-ar.medi alef-ar.fina by lam_alef-ar.fina;
sub lam-ar.init alefHamzaabove-ar.fina by lam_alefHamzaabove-ar;
sub lam-ar.medi alefHamzaabove-ar.fina by lam_alefHamzaabove-ar.fina;
(… same for alefHamzabelow-ar and alefMadda-ar)
} rlig_arab_0;
What happens
- New Edit view tab, text “لا” / “بلا”: I see lam and alef as separate glyphs.
- Language is set to Arabic,
rligis active, and I clicked Update in Features. - The same text in Text Preview shows the ligature correctly.
What I tried
- New tab after updating features
- [Quit and reopened Glyphs]
- [Toggled
rligoff and on in the Edit view feature menu]
One more observation: Font.currentTab.layers returns ['lam-ar.init', 'alef-ar.fina', 'space', 'beh-ar.init', 'lam-ar.medi', 'alef-ar.fina'] for “لا بلا”, even in older files where the ligature does work. So I can’t use it to check whether rlig was applied. Does tab.layers return the layers before the ligature substitution?
Questions
- Does the Edit view apply features differently from Text Preview?
- Is there a setting I need to enable in Glyphs 4?
- Is
tab.layerssupposed to include ligature substitutions?