ToxicFrog / Ligaturizer

Programming Fonts with Ligatures added (& a script to add them to other fonts)
GNU General Public License v3.0
2.23k stars 113 forks source link

The command run by make (and written in the docs) doesn't work with some versions of Fontforge #30

Closed sylbru closed 6 years ago

sylbru commented 6 years ago

I'm using Fontforge 20120731.b-7.1, which is the version in the repos on Linux Mint 18.1 Serena.

Running make or the command fontforge -lang=py ligaturize.py <INPUT> <OUTPUT> launched the GUI with an error message saying "File -lang=py does not exist."

I had to fix the command like this: fontforge -lang=py -script ligaturize.py <INPUT> <OUTPUT> (prefix ligaturize.py with -script).

sylbru commented 6 years ago

Forgot to say, thanks so much for this script! Also the fact that it allows the user to skip some ligatures is great.

ToxicFrog commented 6 years ago

That version of fontforge, going by the name, is six years old. I've been doing my testing with fontforge-20170730.

It might be worth looking for a more up to date .deb of fontforge that will install on Mint.

sylbru commented 6 years ago

Like I explained, I found the solution for my case. I just thought it might be worthwhile to mention this in the docs, and I wanted some feedback on this.

ToxicFrog commented 6 years ago

@tinnus pointed out in #39 that -script works with both new and old versions of fontforge, so I've added that to the makefile and documentation.