mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
Fixes AttributeError when patching python 3 version of font patcher script (fixes #79)
This commit is contained in:
parent
fff3e46331
commit
6f1f049bbe
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue