这是indexloc提供的服务,不要输入任何密码
Skip to content

Input Mono fails to patch with the patcher script #164

@ELLIOTTCABLE

Description

@ELLIOTTCABLE
  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have read or at least glanced at the FAQ
  • I have read or at least glanced at the Wiki¹

Subject of the issue

I'm attempting to patch a single font not included in this distribution, Input Mono [generated with these settings], using the nerd-patcher:

$ brew install fontforge
$ curl -o nerd-patcher.py -JO -fsSl --proto-redir -all,https \
     https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/{font-patcher,changelog.md}
$ for font in Input_Fonts/Input/*.ttf; do
     python nerd-patcher.py --careful --complete --progressbars "$font"; done

Unfortunately, it explodes with a TypeError:

The glyph named Tcommaaccent is mapped to U+021A.
But its name indicates it should be mapped to U+0162.
The glyph named Delta is mapped to U+0394.
But its name indicates it should be mapped to U+2206.
The glyph named Omega is mapped to U+03A9.
But its name indicates it should be mapped to U+2126.
The glyph named tcommaaccent is mapped to U+021B.
But its name indicates it should be mapped to U+0163.
The glyph named mu is mapped to U+03BC.
But its name indicates it should be mapped to U+00B5.
Traceback (most recent call last):
  File "nerd-patcher.py", line 220, in <module>
    sourceFont.appendSFNTName('English (US)', 'Preferred Family', sourceFont.familyname)
TypeError: Language must be a string or an integer

What am I doing wrong? (=

Your Setup

  • Font-file: Input-Regular_(InputMonoCondensed-Light).ttf
  • Terminal emulator: http://Hyper.io with zsh
  • Operating system: macOS Sierra, 10.12.4

  1. Nota bene: The fourth item above in the Issue-template has a broken url:

    https://github.com/ryanoasisnerd-fonts/wiki  # this should be,
    https://github.com/ryanoasis/nerd-fonts/wiki # ← this
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions