Skip to content
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

font-patcher fails to patch InputMono [original-source.otf, does not exist] #666

Closed
pfr-dev opened this issue Sep 20, 2021 · 4 comments
Closed

Comments

@pfr-dev
Copy link

pfr-dev commented Sep 20, 2021

🎯 Subject of the issue

I encounter the following issue when trying to patch InputMono fonts:

λ ~/Downloads/Fonts/Input_Fonts/Input fontforge -script ./font-patcher --careful --complete  --progressbars --mono Input-Regular_\(InputMono-Regular\).ttf
Copyright (c) 2000-2021. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2021-09-20 10:22 UTC-ML-D-GDK3.
 Based on source from git with hash: 5bbc0e0406fb04e9f9ae419cd1d8ed9864b18f7e
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.
The requested file, original-source.otf, does not exist
Traceback (most recent call last):
  File "/home/david/Downloads/Fonts/Input_Fonts/Input/./font-patcher", line 929, in <module>
    main()
  File "/home/david/Downloads/Fonts/Input_Fonts/Input/./font-patcher", line 924, in main
    patcher.patch()
  File "/home/david/Downloads/Fonts/Input_Fonts/Input/./font-patcher", line 88, in patch
    symfont = fontforge.open(self.args.glyphdir + patch['Filename'])
OSError: Open failed

🔧 Your Setup

Pop!_OS 21.04
Alacritty
zsh

@Finii
Copy link
Collaborator

Finii commented Nov 22, 2021

I guess you do not have the source fonts (*) in src/ available?
They are expected in a subdir relative to the location where the patcher script is in.

Edit: Sorry, now I get what you mean.

@Finii
Copy link
Collaborator

Finii commented Nov 22, 2021

The file is in the repo, where it belongs: https://github.com/ryanoasis/nerd-fonts/tree/master/src/glyphs

Please check that the file is existing in src/glyphs/ relative to the font-patcher scriptfile location.

@pfr-dev
Copy link
Author

pfr-dev commented Nov 24, 2021

Not to worry, I've since distro-hopped over to Void Linux and it appears that InputMono infact does supports glyphs. So no longer an issue.

@pfr-dev pfr-dev closed this as completed Nov 24, 2021
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants