GS Layer error on opening file

Newbie here. Created typeface. exported all good. However I’ve encountered an issue opening file again. Error on line XXX due to GS Layer issue.

On review of otf files I can see I’ve got a dupe of one of my glyphs, I’m guessing that is the issue. What’s the procedure in this case? Do I have to recreate from the otf’s or can I go in and look at the ‘corrupt’ file?
Screenshot 2023-11-08 at 14.08.03

Open the .glyphs file in a text editor and check around line 131628. If you like, you can post a snippet of that text here.

There is probably a closing brace or parenthesis missing somewhere.

What version of Glyphs are you using?

Many thanks for getting back to me.

Glyphs Version: 3.1.2 (3151)

snippet: !!!Line indicated below!!!

userData = {
com.hugojourdan.ColorFlow = {
“0” = 0;
“1” = 0;
“10” = 0;
“11” = 0;
“2” = 0;
“3” = 0;
“4” = 0;
“5” = 0;
“6” = 0;
“7” = 0;
“8” = 0;
“9” = 0;
width = nan; !!! the issue line!!!

ok. Many thanks again.

I might have resolved the issue of opening the file.

What I did was to fill the NaN with a rough size (680) and went through 3 other opening error dialogues.

After filling the lines with the random data… as above, it opened.

Can I ask what the issue is?

From what I can see, I’ve been using the right side bearing as (=|) would this return a NaN?

any answer would be appreciated, not wanting to do this again! ha.

This is a problem caused by my “Color Flow” plugin.
I don’t really know how it happened, sorry :confused:

1 Like