World Library  
Flag as Inappropriate
Email this Article

Hinting

Article Id: WHEBN0004898179
Reproduction Date:

Title: Hinting  
Author: World Heritage Encyclopedia
Language: English
Subject: Segoe
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Hinting


Font hinting (also known as instructing) is the use of mathematical instructions to adjust the display of an outline font so that it lines up with a rasterized grid. At low screen resolutions, hinting is critical for producing clear, legible text. It can be accompanied by antialiasing and (on liquid crystal displays) subpixel rendering for further clarity.

Overview

For the purpose of on-screen text display, font hinting designates which primary pixels are interpolated to more clearly render a font.

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 amount of hinting data, much of which was accomplished manually by type engineer Tom Rickner.[1]

Implementations

One popular and recognizable form of hinting is found in the TrueType font format, released in 1991 by Apple 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-source FreeType 2 font rendering engine uses an auto-hinter when such hinting data are not present or their use is restricted by a software patent.[2] As of 2011, the FreeType Web site states that the relevant font hinting patents have now all expired, and hinting is now enabled in FreeType by default.[2]

Guidelines

According to the TrueType Reference Manual,[3] 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.[3]

The Manual suggests that, for screen viewing, fonts should be readable at 9 points per em at 72 dpi. Particular attention should be paid to the cap height, x-height, and baseline, so that the font retains its normal character while not producing exaggerated effects at small sizes.

See also

References

External links

  • The raster tragedy at low resolution or: why correct math looks wrong on screen and how to fix it. Microsoft Corporation. March 1998. A guided and illustrated demonstration by Beat Stamm, Lead Developer for Visual TrueType at Microsoft Typography, on how to hint TrueType font glyphs for the screen.
  • original article covering anti-aliasing including sub-pixel rendering, opportunities made possible by anti-aliasing, challenges in the rasterizer and elsewhere, and a discussion of font hinting in the context of these opportunities and challenges.
  • FreeType
    • FreeType and Patents
  • Tutorial on the DejaVu font wiki
  • Texts Rasterization Exposures Article from the Anti-Grain Geometry Project.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.