-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to open glyphnames json when running patcher 3.3.0 script in WIndows #1761
Comments
Oh. Two questions:
|
|
On a completely "clean" Windows 11 machine (my kids gaming laptop)
Still I encountered the problem that the But this seems to work as expected. Obviously I have no PATH and whatnot to make it ok run without changing into the Programs directory (and I was too stupid to run Fontforge from a different directory). Lets see if I can find out what went wrong in your case with the glyphname file... |
[why] Some user reported a unicode decoding issue. [how] Usually it should work but when the system has some strange setting the datafile might be interpreted as something else (not utf8). State the encoding now explicitly. Possibly fixes: #1761 Signed-off-by: Fini Jastrow <[email protected]>
[why] Some user reported a unicode decoding issue. [how] Usually it should work but when the system has some strange setting the datafile might be interpreted as something else (not utf8). When the file is opened as binary it should be decoded as utf*. Possibly fixes: #1761 Signed-off-by: Fini Jastrow <[email protected]>
Please check again if this is still a problem with font-patcher 4.18.1 https://github.com/ryanoasis/nerd-fonts/blob/master/FontPatcher.zip Please add a screenshot / image of your invocation if it still fails. It is best to call directly |
Downloaded the latest patcher and reran my existing script. It worked w/o any error. This issue seems to be fixed now. |
Thanks for reporting back! |
@allcontributors please add @saumyajyoti for bug |
Requirements
Experienced Behavior
The patcher script throws the below warning:
Nerd Fonts Patcher v3.3.0 (4.16.1) (ff 20230101)
WARNING: Can not read glyphnames file (UnicodeDecodeError('charmap', b'{"METADATA":{"website":"https://www.nerdfonts.com","development-website":"https://github.com/ryanoasis/nerd-fonts","
Expected Behavior
Script runs without this warning
Example Symbols or Text
No response
Font Used
My custom IOSEVKA font.
Source of Font File
https://github.com/saumyajyoti/MiosevkaNerdFont
Terminal Emulator (and the title of the terminal window)
Windows Terminal
Operating System and Version
Windows 11, 23H2
Screenshots
No response
The text was updated successfully, but these errors were encountered: