A problem report (with calt feature and color font)

When I try to use calt feature to substitute some glyphs into a color glyph, here’s a bug with log:

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: '1:1A:BA-B9:0/' (__NSCFString), length: 13, string: '測試測試{
}' (NSConcreteAttributedString), length: 4, range: {17, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
    "3   Foundation                          0x00000001bbbad660 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 220",
    "4   Glyphs 3                            0x00000001006c45f4 _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 259280",
    "5   AppKit                              0x00000001bda08750 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 188",
    "6   AppKit                              0x00000001be1d85d8 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.396 + 120",
    "7   AppKit                              0x00000001bda08688 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 164",
    "8   AppKit                              0x00000001bda084e4 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 380",
    "9   AppKit                              0x00000001be1d7f94 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.341 + 2940"
)

What version of Glyphs is this?

  • Glyphs version: Glyphs 3.1.2 (3151)
  • Plateform: macOS Monterey 12.6
  • Device: MacBook Pro M1 2020

Can you try the latest cutting edge version (activate it in Preferences > Updates > Show cutting edge versions).