Otf vs. ttf
mauro sacchetto
Posts: 353
On the net, many treatises talk about the .otf format as "stronger" or "more stable" than the .ttf, and the fact that the .otf have features that the .ttf do not have, like ligatures, small caps, alternates etc.
See for example this page (I don't know how old):
Yet many .ttfs allow me to use those features not only with LaTeX, but also on LibrOffice. Now what is the current situation? I don't want to open the usual inconclusive flame, but are there reasons to prefer .otf to .ttf?
0
Comments
-
One thing that makes OTF more robust is not the fault of any format per se, but that people can design imperfect cubic bézier curves that translate incorrectly to quadratic (most commonly, missing inflection points) and you often don't notice until it's too late.1
-
A "very technical" reason, even if relevant to the designer.But, from the point of view of the simple user, can the two formats now be considered equivalent?Among other things, if I'm not wrong, the rendering of .ttf on Windows at low resolutions is better than that of .otf, which instead presents problems that require special precautions0
-
TrueType is a scalable font technology designed by Apple Computer, and has been superseded by the OpenType format. However people still refer to TrueType fonts, while in fact 99.9% of all fonts that come with Windows are OpenType fonts.There is no such thing as an .otf or .ttf format as those are file extensions. Historically .ttf was used by fonts with TrueType based outlines, and .otf for CFF based outlines, but .otf fonts can also contain TrueType based outlines, so the extension can't make the distinction between TrueType or CFF based.Both TrueType and CFF based flavors are called OpenType fonts nowadays, hence it is the OpenType specification. What counts is the availability of OpenType layout features, which can be included in both flavors.You can use a font manager to see which OpenType features are available in a font.3
-
But why, if I save a font file in ttf, do I seem to have less rendering problems in Windows than in the .otf format? Or does this imply something wrong with my procedure?0
-
That has nothing to do with OpenType features, but strongly relates to the outline format, the hinting, and the rasterizer.
0 -
ok, very clear and definitive answer. Thank you0
-
mauro sacchetto said:But why, if I save a font file in ttf, do I seem to have less rendering problems in Windows than in the .otf format? Or does this imply something wrong with my procedure?
Windows typically does better with TrueType fonts provided they are well-hinted. On the Mac, you likely won't see a difference. I can't comment on rendering in Linux.2 -
There is a large debate about Linux rendering and its tools.
From a practical point of view, I see all very well on Linux,
without all the troubles od Windows rendering
0 -
Erwin Denissen said:[…] Historically .ttf was used by fonts with TrueType based outlines, and .otf for CFF based outlines, but .otf fonts can also contain TrueType based outlines, so the extension can't make the distinction between TrueType or CFF based.
I thought that the extensions were preserved because the outlines and (auto)hinting were actually different.0 -
The .ttf extension was preserved because the TrueType OT format was designed to be backwards compatible to systems that didn't support OpenType Layout tables, so it was possible to install a TrueType OT font on an older system that wouldn't recognise the .otf extension and have it function just like older TrueType fonts with the .ttf extension.
This backwards compatibility aspect of TrueType OT fonts has persisted even to the most recent versions of the OT format. It is possible to install a variable OT font on older systems without OT variation support and the default instance of that variable font will function as a simple, static TTF.
9 -
John Hudson said:The .ttf extension was preserved because the TrueType OT format was designed to be backwards compatible to systems that didn't support OpenType Layout tables, so it was possible to install a TrueType OT font on an older system that wouldn't recognise the .otf extension and have it function just like older TrueType fonts with the .ttf extension.
This backwards compatibility aspect of TrueType OT fonts has persisted even to the most recent versions of the OT format. It is possible to install a variable OT font on older systems without OT variation support and the default instance of that variable font will function as a simple, static TTF.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 799 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports