I got Glyphs about three weeks ago, and I’ve been very happy with it. A week ago, I actually managed to export a variable font (one axis, two masters) that works!
But now I’m having problems. One file fails to export with the message:
*** -[__NSArrayM objectAtIndexedSubscript:]: index 4 beyond bounds [0 … 3]
Searching this forum, I’ve seen that when users have had this problem in the past you have asked to see the file. It is here:
This is the italic version of the font. I did manage to export the roman version–for a while. Now it produces a font with no error message, but Adobe Illustrator doesn’t recognize it as a font. It can be viewed in Font Book, but installation fails without an error message. TTX decompiles it sometimes, and sometimes reports an unknown file format. Glyphs opens it sometimes, and sometimes complains that there’s no name table. I’m guessing that there’s some inconsistency between masters that’s messing things up. Here’s the link for the roman:
Thanks for testing, dyb. Are there ever issues with different OS versions (I have 10.13.6 (17G65)), or other installed software (I have fonttools, an old version of AFDK, and ttfautohint installed separately)?
Thanks for the offer, but the font is still pretty raw and needs lots of revision and testing. So I’ve got to get it working. Tomorrow I may try uninstalling some of these redundant programs and making sure my Python installation is up to date.
Please don’t mess with python yourself. If you have installed it manually, try to remove it or at least make sure Glyphs can use the systems default python. But that is not really relevant for this problem.
Clearing the font cache fixed the problem with the roman. (I’ll be paying more attention to the tutorials from now on!) The default version of Python in my system is 2.7.10. I have Python 3 installed as well: is this a problem?
I haven’t uninstalled AFDK or Fonttools but have removed them from my PATH. That makes no difference.
Where is the error message “[__NSArrayM objectAtIndexedSubscript:]: index 4 beyond bounds [0 … 3]” even coming from? Not a Python message, apparently.
I’m trying to use the Cutting edge version for variables, but I get a message while setting preferences that Glyphs cannot be updated because: “when it’s running from a read-only volume like a disk image or an optical drive. Move Glyphs to your Applications folder, relaunch it from there, and try again.”
It is in the apps folder and there is no other version of Glyphs on my machine.