IntroductionMicrosoft TypographyJune 1997
Hinting
is an essential part of the production of a quality font. It is indispensable in everyfont intended to be legible at small sizes on low resolution output devices. A well-hintedfont offers the quality only provided in the past by hand-tuned bitmaps - but with all thespeed and reduced memory requirements which characterize outline font formats.Moreover, because the bitmaps are still produced by an outline font, text can be rotated,scaled and viewed at different sizes, and even printed out while maintaining highimage quality.The TrueType font format offers far more power and flexibility in its hinting capabilitiesthan other font formats. Well-hinted TrueType fonts are consequently the best fonts whenit comes to displaying text on the screen.This paper explains exactly what hinting is, why it is necessary, and how the TrueTypeapproach to hinting differs from the approaches adopted by other font formats. As ameans of demonstrating the power of the TrueType format, several examples are shownhere which compare TrueType fonts side-by-side with equivalent PostScript Type 1 fontsrendered by the ATM rasterizer.
Next section:
what is hinting?TrueType Hinting (2 of 5):What is Hinting?At its most basic level
hinting
(or, more accurately,
instructing
) a font is a method of defining exactly which pixels are turned on in order to create the best possible character bitmap shape at small sizes and low resolutions. Since it is a glyph's outline thatdetermines which pixels will constitute a character bitmap at a given size, it is oftennecessary to modify the outline to create a good bitmap image; in effect modifying theoutline until the desired combination of pixels is turned on. A
hint
is a mathematicalinstruction added to the font to distort a character's outline at particular sizes. Technically,hints result in operations which modify a contours' scaled control point co-ordinates before the outline is scan converted. In TrueType a combination of these hints, and theresulting distortions, affords a very fine degree of control over the bitmapshape produced.Modifying an outline in this manner results in what is known as a
grid-fit
. On the basis of the instructions contained in the individual font file, the TrueType rasterizer adjusts theglyph outlines to fit the bitmap grid appropriate for whichever size the text is to bedisplayed at. This outline adjustment is carried out on a case-by-case basis and isillustrated in
figure 1
below.
Leave a Comment