Problem Typing Kannada in Glyphs App

Hi,

Following up on my previous post on the Glyphs forum, here is a detailed brief of the error I am facing while typing Kannada in the Glyphs edit view.

Specs:
macOS Big Sur v11.3.1 with an Apple M1 chip.
Glyphs 3.0.4.
I am using the QWERTY layout and the ‘Kannada’ keyboard that is available as an input source on the macOS.
I have attached a screenshot showing the features that have been checked.

While typing Kannada in the edit view, I am facing these problems:

  1. If I type ಪ + ್ (‘h’ + ‘d’) the app shows me the small form of the letter ಪ. Instead, it should display ಪ್‌.

When I try to paste ಪ್ರ into the edit view after typing it on the browser, it displays it incorrectly, as I have attached as a screenshot in the email.

  1. If I type ಪ + ್‌ + ರ (‘h’ + ‘d’ + ‘r’) it should show the glyph ಪ್ರ. However it returns an error:
    "A problem occurred

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: 1, string: ‘್{
}’ (NSConcreteAttributedString), length: 1, range: {2, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x000000018d47e49c -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 220”,
“4 Glyphs 3 0x00000001046b5158 ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD + 313360”,
“5 AppKit 0x000000018f0b0678 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 188”,
“6 AppKit 0x000000018f85d70c __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.373 + 120”,
“7 AppKit 0x000000018f0b05b0 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 164”,
“8 AppKit 0x000000018f0b040c -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 380”,
“9 AppKit 0x000000018f85d0c4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.318 + 2928”
)"

  1. If I type ಪ (‘h’) and then switch to the English keyboard and type any letter, it returns an error:
    "A problem occurred

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: 1, string: ‘j{
}’ (NSConcreteAttributedString), length: 1, range: {2, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x000000018d47e49c -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 220”,
“4 Glyphs 3 0x0000000100f5d158 ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD + 313360”,
“5 AppKit 0x000000018f0b0678 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 188”,
“6 AppKit 0x000000018f85d70c __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.373 + 120”,
“7 AppKit 0x000000018f0b05b0 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 164”,
“8 AppKit 0x000000018f0b040c -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 380”,
“9 AppKit 0x000000018f85d0c4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.318 + 2928”
)"

Please note:
When these errors appear, I am unable to do anything except force quit the application.
I have attached the glyphs file in mention (this error is appearing in another font file as well, and on multiple systems, so it seems to be a problem with the app.)
Let me know if you require any more information to fix the problem.

Thanks
Taresh

AnekKannada.glyphs (1.4 MB)

Glyphs doesn’t contain a full OpenType engine. I’ll look into this specific issue. Until then, you can add the glyphs manually with Add Glyph… dialog (Cmd+F).

Okay, thanks. Please let me know when it has been fixed.

Hi, kindly revisit this; the problem still persists. It’s quite frustrating to constantly copy and paste conjuncts from the home grid rather than being able to type them. I can type basic letters and vowel signs with ease.

Do you mean that it is crashing when you type? Could you tell me exactly what you type and what keyboard input method you use?

Hi Georg,

Please refer to my first post on this thread. My keyboard input is still ‘Kannada’ (Not ‘Kannada QWERTY’) on the same MacOS.

I had also mentioned what I’ve typed to throw this error.
(In short: Type any consonant like ಪ (‘h’), ರ (‘j’), ಗ (‘i’) and then the halanta (‘d’) and then anything else after.)

There is also a Glyphs file attached to the post that you can use to recreate the same problem.

Please let me know if there’s anything else I can assist with in helping solve this issue. It would be very helpful to have it fixed.

I finally found and fixed the issue. Thanks for your help.

1 Like

Thank you so much. Much appreciated.