2011/09/23

Installing OTF fonts

Thanks to Jerome Jaglale for this one:

Install the fontforge package. Invoke fontforge using a script like this:

#!/usr/bin/fontforge
Print("Opening "+$1);
Open($1);
Print("Saving "+$1:r+".ttf");
Generate($1:r+".ttf");
Quit(0);

Invocation:

fontforge -script otf2ttf.sh font.otf

Install the resulting .ttf file as normal.

No comments:

Post a Comment