- Font hinting
Font hinting is the use of mathematical instructions to adjust the display of an
outline font so that it lines up with a rasterized grid. At small screen sizes, with or withoutantialiasing , hinting is critical for producing a clear, legible text for human readers. It is also known as instructing.Overview
For the purpose of on-screen text display, font hinting instructs which primary pixels are interpolated to more clearly render a font.
One popular and recognizable form of hinting is found in the
TrueType font format, released in 1991 byApple Computer . Hinting in TrueType invokes tables of font data used to render fonts properly on screen. One aspect of TrueType hinting is "grid-fitting", which modifies the height and width of font characters to line up to the set pixel grid of screen display. The open-sourceFreeType font rendering engine uses an auto-hinter when such hinting data is not present or its use is restricted by asoftware patent .Hints are usually created in a
font editor during the typeface design process and embedded in the font. A font can be hinted either automatically (through processed algorithms based on the character outlines) or set manually. Most font editors are able to do automatic hinting, and this approach is suitable for many fonts. However, commercial fonts of the highest quality are often manually hinted to provide the sharpest appearance on computer displays.Verdana is one example of a font that contains a large of amount of hinting data, much of which was accomplished manually by type engineer Tom Rickner, who also helped develop TrueType.Fact|date=December 2007Guidelines
According to the TrueType Reference Guidehttp://developer.apple.com/textfonts/TTRefMan/RM03/Chap3.html#features TrueType Reference Guide] , font instructors (those performing font hinting) must balance the following two constraints when hinting a font:
* At small sizes, chance effects should not be allowed to magnify small differences in the original outline design of a glyph.
* At large sizes, the subtlety of the original design should emerge.The Guide suggests that, for screen viewing, fonts should be readable at 9 points per
em at 72dpi . Particular attention should be paid to thecap height ,x-height , andbaseline , so that the font retains its normal character while not producing exaggerated effects at small sizes.ee also
*
Antialiasing
*Subpixel rendering
*Kell factor
*TrueType References
External links
*
* [http://www.microsoft.com/typography/tools/trtalr.htm The raster tragedy at low resolution]
* [http://freetype.sourceforge.net/patents.html FreeType and Patents]
* [http://dejavu.sourceforge.net/wiki/index.php/Hinting_tutorial Tutorial on the DejaVu font wiki]
* [http://www.antigrain.com/research/font_rasterization/index.html Texts Rasterization Exposures] Article from the Anti-Grain Geometry Project.
Wikimedia Foundation. 2010.