jump to navigation

Convert otf to ttf March 4, 2009

Posted by maxmil in : Debian,Utils , trackback

Using fontforge (available in main debian repository) create the script otf2ttf.sh:

# Quick and dirty hack: converts a font to truetype (.ttf)
Print("Opening "+$1);
Print("Saving "+$1:r+".ttf");

Now pass as parameter to fontforge

fontforge -script otf2ttf.sh fontName.otf

To process a directory of fonts:

for i in *.otf; do fontforge -script otf2ttf.sh $i; done

This info was found here


1. Rizaqu - December 1, 2009

Hello. Thanks for this valuable script. It works fine for me.