OTF vs. TTF: Which Font Type Should You Use?

Otf Vs Ttf Featured

OpenType Font (OTF) and TrueType Font (TTF) are two different file formats for representing fonts on computers. But if you want to know which format to choose, there isn’t an easy answer. Those articles on the Internet saying OTF is the best are misleading and don’t show how font specifications work. We did our research so that you can learn the truth about the technology behind OTF and TTF, how they’re different, and how they aren’t.

Helpful tip: download free fonts from Google Fonts to your computer.

History

Apple released TrueType in 1991 to avoid paying licensing fees for the rights to use Adobe’s Postscript-based Type 1 fonts. To make it more widely available, Apple licensed TrueType to Microsoft for free.

Meanwhile, Microsoft started working on OpenType in 1994. Adobe joined their development efforts in 1996. The newer OpenType got features of both Apple’s TrueType and Adobe’s Type 1 fonts, plus some new ones, essentially becoming a successor to both.

These days, almost all fonts are OpenType-based with very few exceptions.

Does File Extension Matter?

Knowing that OpenType is the more modern choice, should you always choose an .OTF file over a .TTF file? No! This is a common misconception. You can’t determine the font technology from the file extension alone.

OpenType fonts can have either an .OTF or a .TTF extension, as the OpenType format can use one of two glyph outline formats: TrueType or Compact Font Format (CFF). OpenType fonts with TrueType outlines can have the .TTF extension, while those with CFF outlines use the .OTF extension.

Otf Vs Ttf Colorful Venn Diagram

In short, both .OTF and .TTF file extensions are equally good choices if you want the latest font features.

Good to know: if you are seeing pixelated or corrupted fonts in Windows, we show you how to fix it.

OpenType Features

While the file extensions often don’t matter, there are still differences between the underlying font specifications. OpenType is the ideal format, as it’s more modern and includes more features than TrueType, and it keeps improving over time with updates. There’s just not much choice in the matter, as almost every font you encounter on a computer will be an OpenType font!

Glyph Substitutions

OpenType has glyph substitutions, which means a single character (such as the lowercase letter “o”) can be represented by multiple slightly distinct symbols, or glyphs, depending on the context.

Otf Vs Ttf Myriad Pro Glyph Substitution

This feature also allows for greater support for different languages. In languages like Arabic, where a character must look different depending on its position in a word, glyph substitutions are a must-have.

Variable Fonts

Typefaces usually come with a few predefined weights that decide the thickness of each character, such as light, regular, and bold. But this limits you to only four or five different weights per typeface, and if you want a weight that falls in between the predefined weights – thicker than light, but thinner than regular – you’d be out of luck.

This changes with OpenType variable fonts. New fonts with this feature can have weights set to any number between 1 and 1000, meaning you have hundreds of weights at your disposal and can pick the exact thickness you want.

Otf Vs Ttf Myriad Variable Font Weights 1

Not every OpenType font comes with this feature, so if you want to use it, look for fonts that are described as being “variable” or that have “variable” in the name. Additionally, different variable fonts may have different ranges for the weights you can set: many have a minimum weight of 100 and a maximum of 900, which is far different than the full 1 to 1000 range.

Tip: need to find out the fonts used in an image? We have the means to do it.

Ligatures

Another font feature offered by the OpenType standard is ligatures. A ligature is a special symbol that combines two or more characters. Usually, the multiple characters in ligatures appear visually joined together with no space in between them. A ligature example relevant to programmers is that the logical operator for “not equal to” (!==), made of 3 characters, can become a single symbol with a diagonal line cutting across it. This can make disparate symbols or letters look naturally combined, something only otherwise possible if they were handwritten.

Otf Vs Ttf Fira Code Ligatures Comparison

Using this feature can enhance the visual appeal and readability of your text. But it isn’t available in all OpenType fonts, so you need to look for one that explicitly supports ligatures. Additionally, check to see if your text program includes support for ligatures. You may need to enable ligatures in the settings.

Operating System Compatibility

OpenType fonts (which, as mentioned earlier can have either .TTF or .OTF file extensions) are compatible with macOS, Windows, and Linux systems. Again, because almost every font uses OpenType under the hood, you shouldn’t have any issues installing most fonts on any OS.

Otf Vs Ttf Fira Code Windows Font Viewer Comparison 1
Fira Code, in .ttf and .otf formats, uses OpenType. Both work fine on any OS.

If you encounter the rare pure TrueType font, your next step should be to find an updated OpenType version of that font. This should not happen much anymore, so if this happens to you, let us know where you were able to find such a relic from the past!

To install fonts, see these guides in Windows, Android, Linux and iOS.

Converting Font Formats

What happens if you try to use a font, but your system says it’s the wrong format? While this should rarely happen for reasons discussed in this article, it’s still good to know how to convert between .TTF and .OTF fonts.

We recommend using CloudConvert, a free website, to convert fonts. It’s easy – simply upload your font, choose the format you want, and download it.

Alternatively, check out our article on converting fonts to .TTF in Ubuntu – it involves using FontForge.

Frequently Asked Questions

Is OpenType more free or more open compared to TrueType?

Just because OpenType contains the word “Open” doesn’t mean that it’s the free or open source option. Both TrueType and OpenType specifications are publicly available, meaning anyone can create fonts in either format for free.

Can I edit OTF and TTF files?

Yes, you can edit font files by using programs to edit fonts. Just note that some fonts have a restrictive license that prevents modification.

How does Web Open Font Format (WOFF) relate to OTF and TTF?

A WOFF file is designed for use on the Web by being lightweight and faster to load. It’s either an .OTF file or a .TTF file, with compression applied.

Are OTF files better than TTF? Are both file types interchangeable?

They are essentially interchangeable. It’s a common misconception that .OTF files are always better than .TTF or vice versa. We have to emphasize that the file extension does not indicate the features of the font.

Image credit: Pexels. All graphics and screenshots by Brandon Li.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Brandon Li Avatar

Read next

Russia still custom-builds the Soyuz return seats for ISS crew members using plaster casts taken weeks before launch, because astronauts grow as much as five centimetres taller during a long-duration stay and a seat moulded to their Earth-shaped spine would no longer fit the body that comes home
The “CrackBerry” nickname stuck for a reason — and the variable-reward psychology that hooked early-2000s executives on their BlackBerrys is the exact same machinery now running every push notification on every smartphone in your pocket
In 1843, Ada Lovelace described a brass-and-punched-card engine that could act on symbols as well as numbers, even composing music if harmony could be reduced to rules, inside seven translator’s notes three times longer than the paper itself
ARPANET sent its first message on 29 October 1969 from a lab at UCLA to a machine at Stanford, and the message was supposed to read ‘LOGIN’ — but the system crashed after the L and the O, meaning the first word ever transmitted over the network that became the internet was, by accident, ‘LO’.
In 1995, Microsoft shipped a cartoon-house interface called Bob, led by Melinda French, who married Bill Gates while it was in development — it demanded twice the memory of a typical home PC, sold roughly 30,000 copies, and was dead within a year, leaving behind the font Comic Sans and the animated assistant that became Clippy.
The Greenland shark grows about one centimetre a year, does not reach sexual maturity until around age 150, and a specimen carbon-dated by Danish researchers in 2016 was estimated to be at least 272 years old, meaning it was already swimming the North Atlantic when Mozart was composing symphonies.
When Apple shipped iOS 12 in June 2018, a small feature called Screen Time slipped onto every iPhone with a counter nobody had quite prepared for — a tally of pickups — and within a day Tim Cook was telling CNN the number of times he picked up his own phone was simply too many
When NASA lost contact with the IMAGE satellite in 2005, an amateur radio operator in Canada named Scott Tilley picked up its signal in January 2018 while hunting for a classified spy satellite, and the spacecraft turned out to be still spinning, still powered, and still trying to phone home after 13 years of silence.