fontpatcher icon indicating copy to clipboard operation
fontpatcher copied to clipboard

No such glyph 0xFB01

Open ronpandolfi opened this issue 8 years ago • 1 comments

When trying to patch the font linked (Commodore 64) below, I get

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 117, in patch_one_font
    target_font[0xFB01].removePosSub('*')  # fi ligature
TypeError: No such glyph

Can you point me in the right direction?

https://www.dropbox.com/s/23crhkwdyhi33is/C64_Pro_Mono_v1.0-STYLE.ttf?dl=0

ronpandolfi avatar Jun 30 '17 21:06 ronpandolfi

You can do instead:

  • Launch fontforge
  • Open your font
  • Select menu: Element -> Merge Fonts... and open fonts/powerline-symbols.sfd
  • Select File -> Generate Fonts... and save your font somewhere

Done.

smokku avatar Aug 19 '18 22:08 smokku