Is it possible to import the glyph notes from Fontlab to Glyphs? And how to add or edit glyph notes in Glyphs anyway (not the NotesPalette extention but notes as in list view)?
Thanks, Ludwig
Is it possible to import the glyph notes from Fontlab to Glyphs? And how to add or edit glyph notes in Glyphs anyway (not the NotesPalette extention but notes as in list view)?
Thanks, Ludwig
The fontlab export scripts should copy the glyph notes.
The NotesPalette and the list view should show the same content.
No, it’s not exporting the notes. But yes, you’re right, NotesPalatte and list view is same.
I added the glyph.note to the script. I can’t test it right now, as I don’t have a FLS5 any more.
Traceback (most recent call last):
File “”, line 636, in
File “”, line 632, in main
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 353, in write
writePlist(self, pathOrFile)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 94, in writePlist
writer.writeValue(rootObject)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 252, in writeValue
self.writeDict(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 281, in writeDict
self.writeValue(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 258, in writeValue
self.writeArray(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 287, in writeArray
self.writeValue(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 252, in writeValue
self.writeDict(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 281, in writeDict
self.writeValue(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 258, in writeValue
self.writeArray(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 287, in writeArray
self.writeValue(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 252, in writeValue
self.writeDict(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 281, in writeDict
self.writeValue(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 239, in writeValue
self.simpleElement(“string”, value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 172, in simpleElement
value = _escapeAndEncode(value)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py”, line 222, in _escapeAndEncode
return text.encode(“utf-8”) # encode as UTF-8
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0x8a in position 24: ordinal not in range(128)
I hope I fixed it. Can you try again?
Now it exports a glyphs file, but still without the glyph notes.
Sorry for the mess. I did find a running FLS and now it works.
Great, it works! Many thanks for the fast fix.
When I print the glyph set including the notes unfortunately it’s not readable. The notes are placed behind the glyphs. Is there a way to change this?