fontpatcher icon indicating copy to clipboard operation
fontpatcher copied to clipboard

Throws Value Error, does not patch font.

Open SirFireball3521 opened this issue 3 years ago • 0 comments

I ran: ./powerline-fontpatcher --source-font /usr/share/fonts/opentype/PowerlineSymbols.otf /usr/share/fonts/truetype/vlgothic/OxygenMono-Regular.ttf. All the paths in this are correct, and I have rw permissions. Here's the full error message:

Traceback (most recent call last):
  File "./powerline-fontpatcher", line 144, in <module>
    raise SystemExit(main(sys.argv[1:]))
  File "./powerline-fontpatcher", line 141, in main
    return patch_fonts(args.source_font, args.target_fonts, args.rename_font)
  File "./powerline-fontpatcher", line 133, in patch_fonts
    patch_one_font(source_font, target_font, rename_font)
  File "./powerline-fontpatcher", line 104, in patch_one_font
    target_font.selection.select(source_glyph.unicode)
ValueError: Encoding is out of range

SirFireball3521 avatar Mar 23 '21 21:03 SirFireball3521