googlefonts / glyphsLib

A bridge from Glyphs source files (.glyphs) to UFOs
Apache License 2.0
178 stars 51 forks source link

Not compatible with format3 of Glyphs app #1001

Closed shiyangehe878 closed 2 months ago

shiyangehe878 commented 2 months ago

When I am trying to use glyphs2ufo on format3 files, it reports this error

AttributeError: 'str' object has no attribute '_parent'

Then I tried to use a format2file. It works perfectly.

schriftgestalt commented 2 months ago

The support for Glyphs 3 files is almost finished (you can check the Glyphs3 branch).

shiyangehe878 commented 2 months ago

Do I need to reinstall the glyphsLib or download the brand and drag it to the glyphs2ufo dir?

schriftgestalt commented 2 months ago

the easiest is to clone the git repo, switch to the "Glyphs3_Merge" branch, open the repo folder in Terminal and do pip3 install -e . that installs glyphsLib into the current python. You might need to do pip3 uninstall glyphsLib first to remove the previous version.

shiyangehe878 commented 2 months ago

Thank you! It's all done!