Font hinting

Short description: Technique for improving font rendering

A font test without hinting (upper rows) and with hinting (lower rows) at both true size and 400% scaling. Note the increased edge contrast with the hinted text but more faithful character shape and more natural inter-character spacing in the unhinted text.

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.

## Contents

* 1 Overview
* 2 Implementations
* 3 Guidelines
* 4 High-DPI displays
* 5 See also
* 6 References
* 7 External links

## Overview

Anti-
alias-
ing

Hinting

Without  |
With

|
|

Without  |  |

With  |  |

For the purpose of on-screen text display, font hinting designates which primary pixels are interpolated to more clearly render a font.[citation needed] 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, high-quality commercial fonts 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

In the TrueType font format, released in 1991 by Apple Inc, hinting 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 website 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 reference manual suggests that, for screen viewing, fonts should be readable at 9 pixels per em at 72 pixels per inch. 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.

## High-DPI displays

With the advent of high-DPI displays (generally considered to be displays with more than 300 pixels per inch), font hinting has become less relevant, as aliasing effects become un-noticeable to the human eye. As a result Apple's Quartz text renderer, which is targeted for Apple's Retina displays, now ignores font hint information completely.[4][5]

## See also

* Kell factor
* Subpixel rendering

## References

1. ↑ "Georgia & Verdana — Typefaces designed for the screen (finally)". Daniel Will-Harris. 2003. http://www.will-harris.com/verdana-georgia.htm.
2. ↑ 2.0 2.1 "FREETYPE & PATENTS". the FreeType Project. 2009-06-09. http://freetype.sourceforge.net/patents.html.
3. ↑ 3.0 3.1 "TrueType Reference Manual". https://developer.apple.com/fonts/TTRefMan/RM03/Chap3.html#features.
4. ↑ Biľak, Peter (2010-05-17). "Typotheque: Font hinting article on Typotheque by Peter Biľak" (in en). https://www.typotheque.com/articles/hinting.
5. ↑ "A Closer Look At Font Rendering" (in en). 2012-04-24. https://www.smashingmagazine.com/2012/04/a-closer-look-at-font-rendering/.

## External links

* "TrueType Hinting". Microsoft Corporation. June 30, 1997. http://www.microsoft.com/typography/TrueTypeHintingIntro.mspx.
* An online font hinting tool
* The Raster Tragedy at Low-Resolution Revisited: Opportunities and Challenges beyond "Delta-Hinting". Beat Stamm. March 2011. A revised and extended version of the original 1998 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 and Patents
* Tutorial on the DejaVu font wiki
* Texts Rasterization Exposures Article from the Anti-Grain Geometry Project.

* v
* t
* e

Typography

Page|

* Canons of page construction
* Column
* Even working
* Margin
* Page numbering
* Pagination
* Pull quote
* Recto and verso

Paragraph|

* Alignment
* Leading
* River
* Sentence spacing
* Widows and orphans

Character|

| Typeface anatomy|

* Counter
* Diacritics
* Dingbat
* Glyph
* Initial
* Kerning
* Letter-spacing
* Ligature
* Subscript and superscript
* Swash
* Text figures
* Tittle

|

Capitalization|

* All caps
* Camel case
* Letter case
* Small caps

Visual distinction|

* Italics
* Oblique
* Bold
* Color printing
* Underline
* Blackboard bold
* Blackletter

Vertical aspects|

* Ascender
* Baseline
* Cap height
* Descender
* Median
* Overshoot
* x-height

Classifications|

| Roman type|

* Antiqua
* Didone
* Sans-serif
* Script
* Serif
* Slab serif
* Reverse-contrast

|

Blackletter type|

* Fraktur
* Rotunda
* Schwabacher

Gaelic type|

* Insular
* Uncial

Specialist|

* Record type

Punctuation|

* Dashes
* Hanging punctuation
* Hyphen-minus
* Hyphenation
* Prime mark
* Quotation mark

Typesetting|

* Etaoin shrdlu
* Font
* computer
* monospaced
* Font catalog
* For position only
* Letterpress
* Lorem ipsum
* Microprint
* Microtypography
* Movable type
* Pangram
* Phototypesetting
* Punchcutting
* Type color
* Type design
* Typeface
* list

Typographic units|

* Agate
* Cicero
* Em
* En
* Figure space
* Measure
* Paren space
* Pica
* Point
* traditional point-size names
* Proposed metric units
* Thin space
* Twip

Digital typography|

* Character encoding
* Hinting
* Rasterization
* Typographic features
* Web typography

Related|

* Calligraphy
* Intentionally blank page
* Style guide
* Type foundry
* History
* Intellectual property protection of typefaces

* Category

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Font hinting. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Font_hinting&oldid=318342"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template