-
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
"FontForge module is probably not installed" #225
Comments
In a nutshell, this happens when the For some reason, when you install FontForge with Homebrew, To fix this, run:
Remembering to replacing |
What you can also do is
And observe the instructions carefully:
See, how it mentions that to use |
@bookercodes Does this apply for if I'm trying to run the script inside WSL Ubuntu for Windows? |
hey @bookercodes I tried this on both my Ubuntu 18.04 on WSL Windows installation and also on my plain fresh install Kubuntu 18.04 installation. Same error as you but I'm not on Mac or using Homebrew so not sure why it's not working. Any thoughts? |
"FontForge module is probably not installed" I'm on macOS 10.14, and I had that error. Following the instructions printed in the error message lead me to install the FontForge application and XQuartz, but not the command line tools, so I still kept getting that error, even after running the two path commands. (Don't follow the error message's instructions; FontForge.app and XQuartz do not help.) Then I installed FontForge with homebrew as @bookercodes suggested, and everything worked. Get the Nerd Fonts patcher from here: https://github.com/ryanoasis/nerd-fonts Get Xcode from the App Store if you don't already have it, or get just the command line tools from here: https://developer.apple.com/download/more/ Get homebrew from here if you don't already have it: https://brew.sh Then run the following three commands. (By the way, with "~" in the path, you don't have to add in your own username; just copy/paste as-is.)
Then, from the extracted nerd-fonts-master folder...
That places the patched copies of the fonts in the nerd-fonts-master folder and opens that folder in Finder so you can install them by double-clicking. (It's a good idea to do the Italic and Bold variants too like this so you have a full font family.) TL;DR: Confirmation that newer versions of Nerd Patcher do work with SF Mono. |
@jcklpe you should be good if you just |
I received this error on Ubuntu 18.04 after installing fontforge with |
For me it helped to first install FontForge with |
I'm trying to patch a font on mac 10.14. I've followed all the instructions. I'm still getting this error. I've downgraded my python version from 3 to 2.7 but it still doesn't work. I've also tried to install XCode command-line tools. but I couldn't get it to work. can someone please help me... |
@ast3150 I did |
@iiison try this, succeed in macOS 10.15.4 brew install fontforge
brew link fontforge then open a new terminal tab, run fontforge -script ./font-patcher -q --complete <path_to_font> |
@icycandy it worked! thanks 🙏 |
This issue rears its ugly head again in Ubuntu 20.04. Rather than creating a duplicate, putting it here to necro this since it's the same problem I am encountering right now. |
I had the same problem... using Docker may be easier than debugging why
|
Doing this instead works for me on Ubuntu 20.04 Also works with the AppImage if you want to use newer FontForge: ~/Applications/FontForge-2020-03-14-67687b0-x86_64.AppImage -script $(pwd)/font-patcher -c -o $(pwd)/temp/out --progressbars $(pwd)/temp/OperatorMono/OperatorMono.otf Using |
Following issue ryanoasis#225 it seems fontforge has updated how it behaves after installing. For a consistent experience across various operating systems (Ubuntu, macOS, etc), it seems we get better results by pre-pending `fontforge --script ..` before running the `font-patcher` script.
Sorry for beating a dead horse, but I've had the same issue and tried this solution. I instead end up with an error as follows:
|
The error is caused by this line:
So what you have to do is download the entire |
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. |
As per the install instructions, when I install FontForge via Homebrew and run
./font-patcher
, I see the following error:The text was updated successfully, but these errors were encountered: