Fixes AttributeError when patching python 3 version of font patcher script (fixes #79)

This commit is contained in:
ryanoasis 2016-05-14 10:08:40 -04:00
parent fff3e46331
commit 6f1f049bbe

View file

@ -340,7 +340,7 @@ def copy_glyphs(sourceFont, sourceFontStart, sourceFontEnd, symbolFont, symbolFo
if exactEncoding: if exactEncoding:
# use the exact same hex values for the source font as for the symbol font # use the exact same hex values for the source font as for the symbol font
currentSourceFontGlyph = sym_glyph.encoding currentSourceFontGlyph = sym_glyph.encoding
copiedToSlot = str(sym_glyph.str) copiedToSlot = str(sym_glyph.unicode)
else: else:
# use source font defined hex values based on passed in start and end # use source font defined hex values based on passed in start and end
# convince that this string really is a hex: # convince that this string really is a hex: