Arabic Typing Error

** After the latest update Version 2.5.2 (1168), a “problem occurred” pop up window keeps appearing with the following text and prevents me from typing:**

Please help us to fix it by copying the following text and pasting it into a new post on https://forum.glyphsapp.com. Thanks!

text: 'ا با ببب ب ححح ح د يد ر بر سسس س صصص ص ططط ط ععع ع ففف ف ققق ق ككك ك للل ل ممم م ننن ن ههه ه و يو ييي ء
ممم م
ا با ببب ببح حح ح د يد ر بر سسس س صصص ص ططط ط ععع ع ففف ف ققق ق ككك ك للل ل ممم م ننن ن ههه ه و يو ييي ء

باااابببب ب ححح ح د يد ر بر سسس س صصص ص ططط ط ععع ع ففف ف ققق ق ككك ك للل ل ممم م ننن ن ههه ه و يو ييي ء’ (__NSCFString), length: 325, string: ’
{
GSLayerIdAttrib = “621D4B7A-114C-4BA8-80ED-0704E5B0001D”;
}’ (NSConcreteAttributedString), length: 1, range: {330, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x00007fff525ad563 -[NSMutableRLEArray insertObject:range:] + 151”,
“4 Foundation 0x00007fff525ae0df -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 242”,
“5 Glyphs 0x000000010561eb53 Glyphs + 330579”,
“6 TextTool 0x0000000109fdd8a1 TextTool + 26785”,
“7 AppKit 0x00007fff4dcc0d70 -[NSResponder doCommandBySelector:] + 284”,
“8 AppKit 0x00007fff4dbc4c13 -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] + 118”,
“9 AppKit 0x00007fff4dba614e -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 2898”
)

Another problem is that it’s typing the letters in the wrong position, after 4 letters from the I-cursor to be specific.

After the alef or the first beh?

Thanks for posting, looking into it.

For now, switch to LTR mode for typing.

After the alef, sometimes it types after one glyph from the I-cursor too. Thank you, appreciate it.

Hi Georg, thanks for the reply, I’m afraid this won’t work as LTR mode hinders the Arabic letters to connect.

Of cause. Switch to LTR only for typing. The switch back to RTL.