Skip to content

Commit

Permalink
put the note in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Apr 9, 2020
1 parent f96b7c8 commit 765c4f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Glyphs Export.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,14 @@ def makePlist(font):
Paths.append({"nodes": Nodes, "closed":True})
if len(Paths) > 0:
Layer["background"] = {"paths" : Paths}
if glyph.note and len(glyph.note) > 0:
Layer["note"] = convertFLSToUnicode(glyph.note)
Layers.append(Layer)
Glyph["layers"] = Layers
if glyph.unicode > 0:
Glyph["unicode"] = ",".join("%.4X" % x for x in glyph.unicodes)

if glyph.note and len(glyph.note) > 0:
Glyph["note"] = convertFLSToUnicode(glyph.note)

if glyph.mark > 0:
Mark = glyph.mark
Color2Mark = [5, 18, 29, 44, 63, 85, 139, 166, 195, 234]
Expand Down

0 comments on commit 765c4f8

Please sign in to comment.