Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

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.

Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

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

WOFF 2.0: What is it, why is it coming,…

WOFF 2.0 is working its way towards being a standard recommended by the W3C, so it seems like a good time to look at...
Sam Howard
2 min read

Web fonts: A quick introduction to Wrapper and Glyph…

I was planning to write about WOFF 2.0 this week, and wanted to link to a previous article I’d written which explains the structure...
Sam Howard
1 min read

Leave a Reply

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