Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

Useful Truetype/Opentype font tool

48 sec read

I have been doing a lot of work with fonts recently for our PDF to HTML5 convertor. This has involved taking apart many Truetype and OpenType fonts and even building new fonts which I then need to analyse. I usually use the excellent Fontforge for this. The main problem I have found with this tool is that if it does not like the font, the software crashes out with a segmentation fault – not the most useful message!

The Apple command line Truetype tools have never been updated to run on Intel processors, so only run on very ancient systems. Microsoft have some pretty decent utilities but they are Windows specific and I usually work on Unix/Mac systems.

So I was very pleased to discover that tucked away inside Fontforge (it is an additional package) are some additional tools. In particular showTFF is a very robust command-line tool (you can install it as a pre-built binary in Ubuntu). Inspite of the name it works with both Truetype and Opentype fonts. It has attempted to decompile everything I have thrown at it (including some very broken font data) and even makes suggestions on fixing wrong values in the data. Highly recommended!

What are your favorite tools when working with fonts?

This post is part of our “Fonts Articles Index” in these articles we explore Fonts.



Can we help you to solve any of these problems?

IDRsolutions has been helping companies to solve these problems since 1999.

Convert PDF to HTML5 or SVG with BuildVuConvert PDF to HTML5 or SVGConvert AcroForms and XFA to HTML5 with FormVuConvert PDF forms to HTML5
Java Image SDK for working with Image files with JDeliJava SDK for Image files JPedal Java PDF SDK for working with PDF filesJava SDK for PDF files
Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

PDF to HTML5’s Holy Grail – Vertical positioning for…

It’s safe to say that if someone designed fonts from scratch today they’d be very different on the inside. As with many technologies, the...
Sam Howard
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2020. All rights reserved.