OpenType myths explained

OpenType is the standard font format of these days. But even 14 years after its introduction, many users don’t really know what the term OpenType implies and how it differs from other font formats. Since I use the domain opentype.info for my weblog, I thought it is time to shed some light on this confusing subject …

First of all, it’s important to know that OpenType is not as new as some marketing claims try to suggest. It is directly based on the TrueType specifications, or to be even more precise: it is based on Apple’s SFNT (“Spline Font”) format originally developed for QuickDraw. You can think of OpenType as “TrueType 1.5”.

It uses the same basic structure as a TrueType font, but with some optional features stored in additional tables within the font. Which brings us to our first myth:

OpenType brought cross-platform compatibility

Wrong! Until MacOS 9 both TrueType and PostScript Type1 fonts had to be delivered as separated versions for PC and Mac. This was in large parts due to the way Apple stored font information in the resource fork of a file. Since MacOS 10 the new Mac operating system also supports data fork fonts, such as Windows TrueType fonts. So platform compatibility was made possible by this change from Apple, not by the introduction of a new font format. But since OpenType is directly based on the file structure of a (Windows) TrueType font, OpenType is also cross-platform compatible.

OpenType fonts have a larger character set

Just partly true. The old PostScript Type1 fonts usually had just an 8 bit encoding like Mac Roman, which only allowed to address 256 characters. This made setting different languages or writing systems a pain. Different font files of the same typeface (like Helvetica CE/Greek/CYR) had to be used in one document and without these fonts installed the text could not be displayed properly. OpenType with its Unicode support clearly solved this dilemma, but then again: this was not something that was developed specifically for OpenType. The older TrueType fonts also supported Unicode and larger character sets.

What OpenType really introduced was a new way to access these larger character sets. Instead of just accessing them via their Unicode, they can now be accessed using OpenType features, like the LIGA feature, which (for example) automatically replaces every instance of f and i with an fi-ligature. Or the AALT feature which allows you to access all alternative versions of a glyph in the Glyph Palette of InDesign.

But then again: Having an OpenType font doesn’t mean that all those features and extended character sets are really there. You can turn a TrueType font into an OpenType font by just adding one fi-ligature as an OpenType feature. So as you can see: Drawing a strict line between TrueType and OpenType as two separate formats often doesn’t make any sense at all. Often people ask, how they can convert old TrueType fonts to OpenType. But this would be completely pointless since there is nothing to gain from such a conversion, unless the font foundry itself decides to really add additional glyphs and features.

OpenType is more reliable, compatible and better supported than TrueType

Wrong! Users often think they should generally prefer OpenType over TrueType, mainly because of the bad reputation the TrueType format still has. But this is a myth of its own. It comes from the early 1990s when “professional” fonts were usually PostScript Type1 only and thousands of TrueType fonts of poor quality were used by semi-professionals and such fonts caused problems with the Raster Image Processors when used in print. But these days are long gone. Today there is no reason to avoid TrueType fonts anymore and as I have explained before, a TrueType font and an OpenType font can be almost identical. OpenType is not even more compatible, as some users like to think. Since OpenType is a superset of TrueType, whenever there is OpenType support, there is also TrueType support.

OpenType fonts render badly in Windows

Depends! I heard this myth a lot recently in all this talk about webfonts. What is really meant here is that PostScript outlines may look bad in Windows, because they might be shown without subpixel rendering (ClearType).

It is very important to know that an OpenType font might be either TrueType-flavoured or PostScript-flavoured. TrueType outlines use quadratic Bézier splines and PostScript outlines use cubic Bézier splines. So if we want talk about the outlines of a font, using the term OpenType alone makes no sense at all!
We already established that a TrueType-flavoured OpenType font is like a TrueType font with some optional OpenType features. A PostScript-flavoured OpenType font is the same thing, but the part that defines the TrueType outlines (the “glyf table”) is here replaced by a “CFF table” (Compact File Format). That’s why PostScript-flavoured OpenType fonts are also sometimes called CFF-based OpenType fonts.

So if the outline format matters it is really recommended to speak of TrueType- or PostScript-flavoured OpenType fonts. Common abbreviations are OpenType TT and OpenType PS.

So, TrueType fonts use .ttf and OpenType fonts use .otf, right?

Wrong! Unfortunately, the suffix doesn’t tell you for sure what you have. OTF is mostly used for PostScript-flavoured OpenType fonts, but according to the OpenType specifications TrueType-flavoured OpenType fonts can also use .otf.

TTF on the other hand is both used for regular TrueType fonts and for TrueType-flavoured OpenType fonts. This makes sense, since as we have learned before, these types of fonts are pretty similar. By keeping the old TTF file extension TrueType-flavoured OpenType fonts can work in older apps and operating systems that have no specific OpenType support. The fonts are then treated as regular TrueType fonts and the OpenType features are simply ignored.

But I can tell the font format from the icon, right?

Wrong! If you look into the font folder of a Windows XP or Vista installation you see some fonts with an OpenType icon and some fonts with a TrueType icon. Again, these will not tell you for sure, what type of font you have. PostScript-flavoured OpenType fonts will have the OpenType icon, but it gets complicated for TrueType fonts. Microsoft decided to base the icon on the existence of a digital signature which was also introduced in the OpenType specifications. This means, TrueType-flavoured OpenType fonts might have an OpenType icon (if they have a signature) or they just might look like a regular TrueType font (if they don’t have a signature).

Windows users might install the Font Properties Extensions which will give more detailed information about the installed fonts, including the OpenType features of OpenType fonts.

But OTF means “OpenType Font”, right?

Well, … While it is true that OTF means OpenType Font, I generally advise people not to use the abbreviation OTF when one wants to talk about OpenType fonts in general. OTF is usually (but not necessarily) the file extension of a PostScript-flavoured OpenType font, so if one talks about “OTF fonts” it’s not really clear if this should exclude TrueType-flavoured OpenType fonts or not. I recommend to speak of “OT Fonts” for OpenType fonts in general and “OpenType TT” and “OpenType PS” if the outline format matters.

Tweet
Tagged as:

13 Comments

  1. Ramiro Espinoza 2010/07/31 at 4:49 PM #

    Hi Ralph,

    Good article. I enjoyed it. Thanks.

  2. Paul Irish 2010/08/02 at 4:40 AM #

    Most good; thank you. FWIW - I typically see “CFF” as the abbreviation to distinguish the open type fonts with outlines as cubic beziers.

  3. Paul D. Hunt 2010/08/02 at 10:00 PM #

    I hope you don’t mind some nitpicking:

    the second word of your blog entry should be ‘is’

    Although the LIGA feature may contain code that instructs applications to substitute fi by fi (f i by f_i), it may include other ligatures and not the fi ligature. So although I sympathize with your wanting to keep your example as simple as possible, your statements about the LIGA feature are a bit misleading.

    Lastly, I think that OpenType CFF (Compact Font Format) is a better descriptor than OpenType PS.

  4. Ralf Herrmann 2010/08/03 at 7:42 AM #

    I found that users understand CFF as a font format on its own, which they don’t know. TTF, OTF, CFF, …
    So just refering to OpenType and the outline format (TT or PS) makes more sense to the avarage font user.

  5. Richard Fink 2010/08/07 at 5:58 PM #

    Thanks for the rundown, Ralph.
    I had a dream last night where I was being chased by a Quadratic spline while in pursuit of a Cubic spline while Bézier himself stood by and laughed!
    At one point Steve Ballmer drove by and honked his horn.
    Deeply disturbing. ;)
    All these complications and fine distinctions are enough to drive anybody nuts….

    Regards,
    Rich

  6. Pave 2010/08/12 at 8:05 PM #

    Very interesting information for a graphic designer, thanks for this!!

  7. Arif 2010/08/12 at 8:39 PM #

    This is great info, thanks.

  8. Kawika 2010/08/14 at 6:58 AM #

    Wow, so many nitpicky details! Why do fonts have to be so complicated?

  9. ozacek@astron.cz 2010/08/26 at 6:29 PM #

    Re: PostSript fonts were 8 bit encoded, partly true - yes suitcase on mac, but theoreticaly you could have to font suitcases pointing to one PostScript definition, PostScript fonts as such did not have limit of characters - as you can see now on OS X when you connect old Type1 fonts…

    Re: PC TrueType fonts - were working fine on OS 9 and I beleive even before in OS 8.5

  10. Ralf Herrmann 2010/08/26 at 6:47 PM #

    >>theoreticaly … PostScript fonts as such did not have limit of characters

    Yes, »theoretically«, but in reality almost all latin Type1 fonts were built with an 8bit character set.

    >>>PC TrueType fonts – were working fine on OS 9 and I beleive even before in OS 8.5

    I wouln’t know. It required a transformation to a resource fork Mac TrueType font. Which was indeed a simple procedure that could be performed with free tools such as TTConverter.

  11. Sergio 2011/05/17 at 4:09 AM #

    Thank you Ralf for this article. You’re such a cutie.

  12. airwhale 2011/09/07 at 1:47 PM #

    Great article!

    I love a good article to explain something I thought I already knew :)

    May I suggest a follow-up discussing the difference between the “TrueType outlines use quadratic Bézier splines and PostScript outlines use cubic Bézier splines” - I really can’t envision this difference.

    Also, what are the practical implications of choosing one over the other?

    Thanks! /airwhale in Stockholm

  13. Ralf Herrmann 2011/09/07 at 1:53 PM #

    In general, TrueType-based fonts are still used more for screen and Office applications and PostScript-based fonts are used more for print. But that does NOT mean, that you couldn’t use a TrueType font for print or a PostScript font for the screen.

 

Leave a Reply


*

More in Typography (68 of 96 articles)