Skip to content

Commit

Permalink
fix import of multiple unicodes
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Feb 20, 2018
1 parent d3b51ee commit 9312639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Glyphs Import.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def readGlyphs(Font, Dict):
Nice2Legacy[Name] = Production
glyph.name = Name
if "unicode" in GlyphDict.keys():
glyph.unicode = int(GlyphDict["unicode"], 16)
glyph.unicodes = list([int(x, 16) for x in GlyphDict["unicode"].split(",")])
if "export" in GlyphDict.keys() and str(GlyphDict["export"]) == "0":
glyph.customdata = "Not Exported"
glyph.mark = 2
Expand Down

0 comments on commit 9312639

Please sign in to comment.