Aliasing and Anti-Aliasing
The good news is that for centuries, typography has been a cornerstone of high aesthetic standards.
The bad news is that during those centuries, it never occurred to anyone that their work might need to be pixellated, as on an electronic display.
To make a long story extremely short, that means that most traditional typefaces look awful on-screen. This is caused by aliasing, which is described visually in Figure 12-4.

Figure 12-4. An illustration of aliasing and anti-aliasing applied to 16px/12pt Helvetica: (1) original against a pixel grid, (2) aliased, (3) anti-aliased at the OSX Medium setting, and (4) anti-aliased in ClearType/Vista
Aliasing approximates the strokes of a letterform, which leads to an obviously “blocky” appearance. For this reason, fonts that are not designed to account for aliasing tend to look much different—and frankly uglier—than their print counterparts, an effect exacerbated by the fact that human eyesight is keyed to differences in brightness.
Anti-aliasing attempts to undo some of aliasing’s damage to the ideal appearance of on-screen lettering by smoothing edges, as shown in Figure 12-4. Anti-aliasing algorithms create regions along the edges of letters where the difference between foreground and background is interpolated gradually, which obscures the true degree of contrast and allows more of the type’s hinting to be applied.
Hinting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access