TrueType is an outline font standard originally developed by Apple Computer in the late 1980s as a competitor to Adobe's Type 1 fonts used in PostScript. The primary strength of TrueType was originally that it offered font developers a high degree of control over precisely how their fonts are displayed, right down to particular pixels, at various font heights. (With widely varying rendering technologies in use today, pixel-level control is no longer certain.)
On the Macintosh, fonts were originally stored in hand-tuned bitmap font files that specified individual pixel locations for a font at a particular size. If the user wanted to see a font at another size, the Font Manager found the closest match and applied a basic scaling algorithm. When scaled to large sizes the effect was comical– since these fonts were bitmapped, they would scale the same way any raster graphics image does, becoming blocky.
In contrast, printer fonts for the popular Apple LaserWriter were based on PostScript Type 1 outlines, resulting in excellent output at any size. Making matters difficult was the fact that Type 1 fonts were encrypted, and Adobe made a considerable amount of their income from licensing the format to interested parties. They were not about to simply allow Apple to include the software for free.
Instead Sampo Kaasila at Apple decided to write an entirely new format, which he worked on under the name Bass (because "Bass are Scalable", and perhaps as in Bass-o-matic from the Saturday Night Live sketch) and later Royal. The system developed and was eventually released as TrueType with the launch of Mac OS System 7 in May 1991. The fonts, four-weight families of Times Roman, Helvetica, Courier, and a handful of others, replaced the older bitmap fonts that previous Macintosh System versions had used. For compatibility with older systems, Apple also shipped a TrueType Extension and a TrueType aware version of Font/DA Mover for System Software 6.
One huge drawback of the TrueType system is that it could not use Type 1 fonts on-screen — not surprising given its genesis. However this meant that the system was in fact not used by the very people it was intended to help, desktop publishing software users. They had already invested considerable money in commercial Type 1 fonts, which they were not interested in replacing, and therefore had to continue using Type Manager. Adding to the problem was that there were very few fonts available in TrueType format, so even if one wanted to start fresh there was no real way to do so.
As part of Apple's new tactic of distancing itself from Adobe, Apple licensed TrueType to Microsoft, in exchange for a license for TrueImage, a Microsoft-developed PostScript-compatible printer driver that Apple planned to use in their laser printers. This driver was never actually included in any Apple products.
Part of Adobe's response to learning that TrueType was being developed was to create the Adobe Type Manager software to scale Type 1 fonts on-screen and for output to any printer, much like TrueType fonts. Although ATM cost money, rather than coming free with the operating system, it became a de facto standard for anyone involved in desktop publishing.
When TrueType was announced, John Warnock of Adobe gave an impassioned speech in which he claimed Apple and Microsoft were selling snake oil, and then instantly released the Type 1 format as a published standard for anyone to use. This put even more pressure on TrueType. Apple eventually renewed agreements with Adobe for the use of PostScript in its printers; it is speculated that Apple's tactics resulted in lower royalty payments to Adobe as part of its new licensing agreements.
Apple extended TrueType with the launch of TrueType GX in 1994, as part of QuickDraw GX. This offered powerful extensions in two main areas. First was font morphing, for example allowing fonts to be smoothly adjusted from light to bold or from narrow to extended — competition for Adobe's "multiple master" technology. Second was substitution, where particular sequences of characters can be coded to flip to different designs in certain circumstances, useful for example to offer ligatures for "fi", "ffi", "ct", etc. while maintaining the backing store of characters necessary for spell-checkers and text searching. However, the lack of user-friendly tools for making TrueType GX fonts meant there were no more than a handful of GX fonts. Much of the technology in TrueType GX, including morphing and substitution, lives on as AAT (Apple Advanced Typography) in Mac OS X. Few font developers outside Apple attempt to make AAT fonts.
Microsoft and Monotype technicians used TrueType's hinting technology to ensure that these fonts did not suffer from the problem of illegibility at low resolutions which had previously forced the use of bitmapped fonts for screen display. Subsequent advances in technology have introduced first anti-aliasing, which smooths the edges of fonts at the expense of a slight blurring, and more recently subpixel rendering (the Microsoft implementation goes by the name ClearType), which exploits the pixel structure of TFT LCD based displays to increase the apparent resolution of text. Microsoft has marketed these technologies particularly heavily, and they are now widely used on all platforms.
There are potential patent infringements in FreeType 1 because parts of the TrueType hinting virtual machine were patented by Apple, a fact not mentioned in the TrueType standards. (Patent holders who contribute to standards not published by a major standards body such as ISO are not required to disclose the scope of their patents.) FreeType includes an automatic hinter that analyzes glyph shapes and attempts to generate hints automatically, thus avoiding the patented technology.* The automatic hinter generally improves the appearance of free or cheap fonts, for which hinting is often either nonexistent or automatically generated anyway, but it can degrade the appearance of professional hand-hinted fonts, and does not work at all well for non-Western text that requires a different approach to hinting. As a result, many people prefer to enable the patented hinting technology.
FreeType 2 is a font service and doesn't provide APIs to perform higher-level features, like text layout or graphics processing (e.g., colored text rendering, "hollowing", etc.). However, it greatly simplifies these tasks by providing a simple, easy to use and uniform interface to access the content of font files.
FreeType 2 is released under two free-source licenses: BSD-like FreeType License and the GPL. It can thus be used by any kind of projects, be they proprietary or not.
Although incapable of receiving input and producing output as normally understood in programming, the TrueType hinting language does offer the other prerequisites of programming languages: conditional branching (IF statements), looping an arbitrary number of times (FOR- and WHILE-type statements), variables (although these are simply numbered slots in an area of memory reserved by the font), and encapsulation of code into functions. Special instructions called "delta hints" are the lowest level control, moving a control point at just one pixel size.
Good TrueType glyph programming techniques are meant to do as much as possible using variables defined just once in the whole font (e.g., stem widths, cap height, x-height). This means avoiding delta instructions as much as possible. This helps the font developer to make major changes (e.g., the point at which the entire font's main stems jump from 1 to 2 pixels wide) most of the way through development.
Making a very well-hinted TrueType font remains a significant amount of work, despite the increased user-friendliness of programs for adding hints to fonts compared with the early 1990s. Many TrueType fonts therefore have only rudimentary hints, or have hinting automatically applied by the font editor, with variable end results.
TrueType | TrueType | TrueType | TrueType | TrueType | TrueType | TrueType | TrueType | TrueType
This article is licensed under the GNU Free Documentation License.
It uses material from the
"TrueType".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world