Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Type Rendering
Bram Stein
November 14, 2014
Design
7
390
Type Rendering
Deep dive into type rendering in web browsers.
Bram Stein
November 14, 2014
Tweet
Share
More Decks by Bram Stein
See All by Bram Stein
bramstein
1
750
bramstein
2
1.6k
bramstein
5
320
bramstein
12
870
bramstein
13
1.7k
bramstein
111
28k
bramstein
32
3.1k
bramstein
20
5.4k
bramstein
7
820
Other Decks in Design
See All in Design
alyciawhite25
0
140
jayster5678
0
480
nrasoul
3
440
andreh
0
150
ogishio
0
250
tessaabrams
0
980
mashida
1
490
mannuamrit
0
380
lily2251390
0
240
isawiitch
0
230
lily2251390
0
450
juanluisbravo
2
600
Featured
See All Featured
vanstee
117
4.9k
skipperchong
8
720
stephaniewalter
260
11k
tanoku
86
8.6k
pauljervisheath
195
15k
jrom
116
7.2k
samanthasiow
56
6.4k
afnizarnur
176
14k
dotmariusz
94
5.5k
trishagee
24
2.6k
addyosmani
311
21k
chriscoyier
683
180k
Transcript
Type Rendering Outlines Hinting ANTIALIASING sub-pixel antialiasing Rasterizers CoreText web
fonts GDI DirectWrite Sampling BLACK & WHITE grayscale color filtering LCD pixels TrueType SVG WOFF Bezier opentype ClearType Design Responsive Smoothing Typography twitter.com/@bram_stein
TTF, OTF, SVG (WOFF, EOT)
TTF, OTF, SVG (WOFF, EOT)
TTF, OTF, SVG (WOFF, EOT)
OpenType
Outlines BASELINE X-HEIGHT CAP HEIGHT
None
None
None
Hinting
None
None
None
None
Antialiasing
None
None
None
None
None
Subpixel Antialiasing
Brian Wotherspoon - flickr.com/photos/brian_digital/
None
None
Black and White Grayscale Subpixel
Browsers
Browsers Platform
OSX iOS Chrome Sub-pixel / Grayscale Grayscale Firefox Sub-pixel /
Grayscale n/a Opera <= 12 Sub-pixel / Grayscale n/a Safari Sub-pixel / Grayscale Grayscale
Linux Android Firefox OS ChromeOS Chrome * Grayscale n/a Grayscale
Firefox * Grayscale Grayscale n/a Opera <= 12 * Grayscale n/a n/a Safari n/a n/a n/a n/a Android n/a Grayscale n/a n/a
Windows XP TTF Windows XP CFF Windows XP TTF ClearType
Windows XP CFF ClearType IE6 Grayscale - Subpixel - IE7 Grayscale - Subpixel - IE8 Grayscale ?? Subpixel ?? Chrome Grayscale Grayscale Subpixel / Grayscale Grayscale Firefox Subpixel Grayscale Subpixel Grayscale Opera <= 12 Grayscale Grayscale Subpixel Grayscale
Windows Vista Windows 7 Windows 8 Windows Phone IE7 Subpixel
(GDI) n/a n/a n/a IE8 Subpixel (GDI) Subpixel (GDI) n/a ?? IE9 Subpixel (DW) Subpixel (DW) n/a Grayscale (DW) IE10 n/a Subpixel (DW) Grayscale (DW) Grayscale (DW) Chrome Subpixel / Grayscale (GDI) Subpixel / Grayscale (GDI) Subpixel / Grayscale (GDI) n/a Firefox Subpixel (DW) Subpixel (DW) Subpixel (DW) n/a Opera <= 12 Subpixel (GDI) Subpixel (GDI) Subpixel (GDI) n/a
Responsive Typography
None
None
None
None
None
html { font-family: “Proxima Nova”, Verdana, sans-serif; font-weight: 300; }
<html class=”tr-gdi tr-aa-none”> <html class=”tr-gdi tr-aa-subpixel”>
html.tr-aa-none { font-family: Verdana; } ! html.tr-gdi { font-weight: 400;
}
typerendering.com
Outlines Hinting ANTIALIASING sub-pixel antialiasing Rasterizers CoreText web fonts GDI
DirectWrite Sampling BLACK WHITE grayscale color filtering LCD pixels TrueType SVG WOFF Bezier opentype ClearType Design Responsive Smoothing Typography Resolution DPI Mobile Typekit Request fin Thank you twitter.com/@bram_stein