EB-Garamond
EB-Garamond copied to clipboard
Create build instructions
It's pretty simple, just run make
- but there is a Python module dependency from FontForge that is not quite trivial to set up. I'll put together something for a PR in the next day or two.
Well, I've totally lost the thread here. Would someone be so kind as to explain me the basic process as if I were six years old?
@MrSpinalzo Sorry, you were in the right thread, I was in the wrong one. 😄
Did you install FontForge?
After installing FontForge find a file in the installation folder called fontforge-console.bat
and run it. Then open the file Makefile
in the repo with an editor and change line 15 to PYTHON?=ffpython
.
Done. What's next?
Do you know how to put something in the environment path?
Nope. Don't know what's that.
Okay, let's make sure you even need to do that. Open cmd and type ffpython. If you get a python console, you don't. If you get an error, you do.
Seems that I do.
Okay. Here is a random link, that tells you where to find the path variable: https://www.howtogeek.com/787217/how-to-edit-environment-variables-on-windows-10-or-11/ You need to add the path to ffpython.exe generated by the bat file to it.
I'm afraid I'm lost again. There's no ffpython.exe (or maybe I can't find it).
When you open cmd in the folder where the bat was, can you then run ffpython?
I mean, I typed PYTHON?=ffpython in the makefile, but it didn't generate anything. Or so I think.
No, not the Makefile. The .bat one.
Oh. I see. I'll try again. Thanks so much for your patience, by the way.
Your very welcome!
Let me recapitulate: after running the fontforge.console batch file, I typed PYTHON?=ffpython in the makefile contained in the EB Garamond folder. Then nothing happened, or maybe something happenede but I didn't notice.
I found, however, a ffpython exe in the bin folder contained in the FontForgeBuilds folder. Is that the exe you were refering to?
Yes! very good. I'm sorry, I'm not on a Windows PC and I have never done this myself, so I'm just reading here and there on Stackoverflow and tell you what I would do.
Great! I've just added the path to ffpython.exe. What's next now?
Now, you need to install make. There are multiple options for make on Windows. I have never used any of them. Here is one: https://cygwin.com/install.html
In the installer, you apparently need to make a check at make, which is not necessarily default marked.
Alright. So I installed make. I think.
Now, you don't get your hopes up and go to the repo in cmd and run make
. If that doesn't work try make -f Makefile
.
Shit! It doesn't work.
What does it say?
The term "make" is not recognized.
You can try to find a make.exe in the Cygwin folder and add that to the path.
I think you see now, why people do this stuff in Linux 😄
Yeah, I'm getting the idea
@doctorlard @MrSpinalzo I'm able to build on Windows 10 using Make for Windows and the process I described above for ffpython.