Hello everyone,
I have a client who insists that users must be able to type the Arabic word “الله” correctly by double-clicking a single glyph in Adobe Illustrator’s Glyphs panel.
I explained that “الله” should normally be entered as its correct Unicode character sequence:
ا + ل + ل + ه
The font can then substitute this sequence with the specially designed Allah ligature through OpenType features.
However, the client is fully convinced that selecting a single Allah glyph directly from the Glyphs panel should insert the word correctly—not merely display the right shape, but also preserve the proper underlying Unicode text.
As far as I understand, inserting a single glyph from the Glyphs panel cannot automatically generate a sequence of four Unicode characters. Assigning the Allah ligature to a PUA code point might make it directly accessible, but the resulting text would no longer contain the correct Arabic character sequence and could cause problems with searching, copying, accessibility, and text processing.
I am posting here to get a clear technical answer from the experts:
- Is there any reliable way for a single glyph selected from Illustrator’s Glyphs panel to insert the correct sequence ا ل ل ه?
- Can an OpenType rule expand one inserted character into several correctly encoded Unicode characters?
- Is using a PUA character the only practical workaround, despite the incorrect underlying text?
- What would be considered the technically correct and recommended solution?
I would appreciate an authoritative explanation that I can share with the client.
Thank you.