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
540
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
Are variable fonts the future of web typography?
bramstein
1
1k
Line breaking, justification, and variable fonts
bramstein
2
2.2k
The Science of Typography - DIBI
bramstein
5
360
Web Fonts Performance
bramstein
12
980
The Science of Typography
bramstein
13
1.9k
Web Fonts Performance
bramstein
111
29k
The Consequences of Web Fonts
bramstein
32
3.4k
The State of Web Type
bramstein
19
5.6k
Web Typography
bramstein
7
900
Other Decks in Design
See All in Design
Cleaning Kimba's Eyes
kignato1
0
540
「文脈を理解する」ということについて 考えてみる
yutaromurakami
0
180
自分の不安を受け入れるこころのデザイン
ryuuuuukun
0
680
副業デザイナーズで作るデザイン組織 / Design Teams as a Side Job Designer
kgsi
0
650
Research Conference Lightning Talk #1 Re-Searchのための問いの立て方とは?
hirokazu_oda
4
320
【総合案内資料】180 Inc. Company Introduction 2022.11改定
shogouenaka
1
250
[UX/UI design] Target users and developmental psychology
shira0000000
1
260
業務システムのUI設計・改善の勘所。ノンデザイナー向けに基礎から解説
ncdc
0
110
UIを完全に理解して、 プロダクトをチョット良くする
tojimasan
1
290
UX ROCKET#4サイボウズ企業説明会資料 / UXRocket4_2022
kamimu
0
210
Maroon Storyboards
sarahvanderark
0
130
ユーザーインターフェイス設計の基礎を振り返る / Basics of User Interface Design
yuyaink
0
590
Featured
See All Featured
Practical Orchestrator
shlominoach
178
8.9k
Embracing the Ebb and Flow
colly
75
3.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
317
22k
For a Future-Friendly Web
brad_frost
166
7.8k
A Modern Web Designer's Workflow
chriscoyier
689
180k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
226
130k
Done Done
chrislema
178
15k
Build your cross-platform service in a week with App Engine
jlugia
221
17k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
197
10k
How to Ace a Technical Interview
jacobian
270
21k
How To Stay Up To Date on Web Technology
chriscoyier
779
250k
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