Closed ThePaSch closed 7 months ago
Fantastic, thank you for attaching the project file. I was able to reproduce the bug in the non-minified src, and tracked down the issue.
For my reference:
TypeError: codePoint.substr is not a function
at getUnicodeName (http://localhost:5173/v2/app/lib/unicode/unicode_names.js:17:34)
at makeCharChip (http://localhost:5173/v2/app/pages/kerning.js:623:13)
at http://localhost:5173/v2/app/pages/kerning.js:612:23
at Array.forEach (<anonymous>)
at makeKernGroupCharChips (http://localhost:5173/v2/app/pages/kerning.js:610:8)
at makeCard_kernGroup (http://localhost:5173/v2/app/panels/card_kern_group.js:24:18)
at makePanel_KernGroupAttributes (http://localhost:5173/v2/app/panels/attributes_kern.js:13:3)
at makePanel (http://localhost:5173/v2/app/panels/panels.js:28:61)
at Object.makePage_Kerning [as pageMaker] (http://localhost:5173/v2/app/pages/kerning.js:122:20)
at Navigator.makePageContent (http://localhost:5173/v2/app/project_editor/navigator.js:155:50)
Actually, would you send me the v1 version of the project? All the kern groups just have false
as group members, so it seems more like a v1 to v2 conversion bug than a kern bug.
"kern-1": {
"leftGroup": [
false
],
"rightGroup": [
false
],
"value": 120
},
Sorry, I don't have the original file anymore; I inadvertently overwrote it with the v2 save data.
No worries, I'll try to reverse-engineer the bug. At least I know where to look - thanks!
Running into the same issue when importing fonts with kerns. The font in question is here
This was just fixed in 2.0.1!
Describe the bug & what the expected behavior should be: While attempting to navigate to the Kerning screen to adjust my font's kerning groups, the application crashes gracefully (showing the "Oops, Navigation Failed" screen) with the following stacktrace:
Steps to reproduce the bug:
Open this Glyphr project in the v2 app.
Attempt to navigate to the Kerning screen.
Other notes & screenshots: Navigating to the kerning screen seems to work fine for other projects I've tried. The project was initially started in v1 and then migrated to v2, though I've tried doing this with another project as well and everything works as expected.