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.