I needed to convert several OpenType font files ( with .otf extension ) to TrueType ( with .ttf extension ) to be used with the PHP PDF generating library FPDF and, after a quick search found out FontForge which is available straight from Ubuntu repositories.
sudo apt-get install fontforge
With the software installed we just have to open the .otf file and then go to File > Generate Font and select TrueType format.
Of course FontForge can do a lot more than converting fonts from one format to the other, but it proved to be perfect for that when I needed it.
No comments:
Post a Comment