This document summarizes a workshop on web typography presented by Jim Kidwell and Thomas Phinney. It begins with biographies of the presenters and an agenda for the workshop. The first section provides a history of web fonts, starting with the limited "web safe" fonts of the early internet and the introduction of technologies like @font-face, EOT, and WOFF that enabled the use of true type fonts on the web. Subsequent sections discuss best practices for choosing, setting, and using web fonts, including topics like font licensing, legibility, pairing different fonts, and CSS features. The document provides an overview of the workshop's content and discussions.
2. About Us
Jim Kidwell
• 10+ years at Extensis
• Author, speaker
• Font nerd
Thomas Phinney
• Extensis, Adobe, indie
• Author, speaker, type design
• Font geek since 1995
3. About You?
• Name
• @font-face knowledge?
• Used web fonts on site(s)?
• Print background?
• Web designers?
• Web developers?
• Front end? Back end?
4. Agenda
1. Introduction & History
2. Choosing Fonts
3. Setting Type
4. CSS3 & OpenType Features
5. Try Sample Sites
6. Q&A
5. Agenda
1. Introduction & History
2. Choosing Fonts
3. Setting Type
4. CSS3 & OpenType Features
5. Try Sample Sites
6. Q&A
23. New World
Order: Real Fonts
• Standards-based
• Replaces various hacks &
stopgaps
• From web server
• Downloaded to viewer’s browser
• Same rendering as other fonts
• Regular font files (+ wrapper)
31. How Web Fonts
Are Used
• @font-face CSS tag
• CSS 2.0
• CSS 2.1
• CSS 3.0
32. How Web Fonts
Are Used
@font-face CSS tag > font-family
@font-face {
font-family:Glurbish;
src: url("http://www.myserver.com/
somefont-reg.ttf");
}
33. Three Benefits of
“real” Web Fonts
• Choice
• Not images
• Standards / Not hacks
• TTF, OTF, and wrapped variants
34. • 99%+ of web surfers
• Desktop for last few years
• Internet Explorer 4+
• Latest mobile
Browser support
for @font-face
35. Challenges using
Web Fonts
• Fonts not licensed for web
• Many font formats required
• EOT
• TTF
• OTF
• (SVG)
• WOFF
• Browsers constantly changing
37. How web fonts
are used
• @font-face CSS > font-family
• First appeared in CSS 2.0
• Disappeared in 2.1
• Reappeared in 3.0
38. How web fonts
are used
• @font-face CSS > font-family
@font-face {
font-family:Glurbish;
src: url(http://www.myserver.com/somefont-reg.ttf);
}
39. Benefits of
Self-hosting
• No outside dependencies
• Complete control
• Purchase only fonts you need
• Possibly cheaper
40. Benefits of
web font services
• Handles browser-specific issues
• Browser changes
• Easiest way to use web fonts
• Hides complexity
• Keeps it legal
• Fonts served by cloud-based
service
• All-you-can use font buffet
47. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
48. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
49. Using a Fallback
Stack
Same as with old web-safe
fonts:
.Body {
font-family: MyriadPro, "Lucida Sans", "Lucida
Grande", Verdana, Arial, sans-serif;
}
50. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
52. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
53. Matching Existing
Visual Identity
• Thousands of fonts are available
as web fonts
• Expert advice for “closest” fonts
• Ask your web font service
provider
• Ask on Typophile.com
• Suitcase Fusion’s QuickMatch
54. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
55. Let’s say that you
are designing for a
high-class
restaurant
62. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
66. Letterforms &
Legibility vs size
Under normal conditions,
lowercase or Mixed Case
is best.
At very small sizes, ALL CAPS CAN BE MORE LEGIBLE than
lowercase
67. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
68. Font Quality
Considerations
• Character set
• Letter shaping issues
• Overshoots
• Thick vs thin
• Optical compensation at joins
• Consistency
• Round/straight transitions
• Point placement & extrema
• Spacing & Kerning
• Hinting—mostly see “legibility”
• Examples: Josefin Sans, Smart Frocks
70. Use Quality
Fonts
• Not all fonts are created equal!
• Quality of design
• Not a typographer?
Consider a well-curated
font library!
71. Best Practices:
Single Fonts
1. Use @font-face
w/fallback stack
2. Get legitimate licensing
3. Match existing visual identity
4. Compatible tone/mood
5. Use legible fonts
6. Use quality fonts
74. Best Practices:
Multiple Fonts
1. Fewer typefaces are better
2. Pair contrasting type
classifications
3. Variation within/between
families
4. Use each font in distinct roles
5. Don’t contrast spirit
6. Don’t go too far!
75. Fewer are
better
• For most sites, maximum
three typefaces (plus logo)
• More styles vs. more typefaces
• More web fonts = slower
page loads
• But fonts are smallish, much like
images
78. Gill Sans MT Headline +
Lucida Grande Body
• Body text has insufficient
contrast with titling
• Not the same typeface, but
too similar for comfort
• Same weight/width/slope
• Both sans serif
• Title is only 25% bigger
79. Gill Sans Bold
Headline
• Body text is unchanged, but
still problematic
• More weight contrast
• More size difference
• Style still too similar
80. Gill Sans Bold
Headline
• Body text now Cochin, smaller
• Contrasts: weight, classification
and size
• Classic: Pair a serif with a sans
82. Best Practices:
Multiple Fonts
1. Fewer typefaces are better
2. Contrasting Classifications
• Example: Serif vs Sans
3. Use variation within families
• Enhance contrast within or between
typefaces
• Use different sizes as a differentiator
4. Use each typeface in distinct roles
5. Don’t contrast “spirit”
6. Don’t go too far!
• Extreme style contrast
83. Resources &
Links
• Go to this URL:
http://www.webink.com/
type-resources
• Includes link to
recordings of previous
webcasts!
84. Agenda
1. Introduction & History
2. Choosing Fonts
3. Setting Type
4. CSS3 & OpenType Features
5. Try Sample Sites
6. Q&A
86. 15 things
• 10 web typesetting best
practices
• 5 ways web type is not print
87. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
88. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
90. Effective Visual
Hierarchy: Size
• More sizes = more clutter
• Use fewer levels of headings
• One or at most two, plus body
size, for most projects
91. Effective Visual
Hierarchy: Size
• More sizes = more clutter
• Use fewer levels of headings
• One or at most two, plus body
size, for most projects
• Consider Golden Ratio scale
• Each level ~1.6 x the size below it
99. Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
• Same techniques as other elements
• Location, proximity, background, etc.
• Size change
• Weight & Width
extralight, light, regular, semibold bold, black,
condensed, semi-condensed, regular, semi-
extended, etc.
• Italics
• Color change
• Different typeface altogether
101. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
102. Use Hyphenation
“Pretty much the only forms of
Western literature that don’t use
hyphenation are children’s books
and websites. Until now.”
— Richard Rutter
108. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
109. Limit & Control
Line Length
• Impacts reading comfort
• Aim for 55–75 characters/line
• Type size ×30 is a good start
• width: 30em;
• Or, use max
• max-width: 30em;
111. Line length
research?
• Shaikh & Chaparro (2004)
• 35, 55, 75, 95 cpl
• 35–75 similar speed
• 95 cpl = +6% speed
• 60% pref 35 or 95
• least fave? 45%=35, 55%=95
112. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
117. More Line
Spacing
• “Normal” (default) ≠ 100%!
• Includes ~20% extra space
• Varies depending on font vertical
metrics
• Consider 140–170%
line-spacing
118. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
121. Standard Paragraph
Separation
• Full line space is default
• When first line indent?
• When both?
• When eliminate?
• When indent entire block?
122. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
124. Bigger Body
Text
• Legible ≠ Comfortable!
• Most web text unnecessarily
small
• Average 9–12 px
• Suggested default: 14–16 px
• Ideal size varies by font
125. Bigger Body
Text
• Legible ≠ Comfortable!
• Most web text unnecessarily
small
• Average 9–12 px
• Suggested default: 14–16 px
• Ideal size varies by font
• Different x-height
126. Bigger Body
Text
• Legible ≠ Comfortable!
• Most web text unnecessarily
small
• Average 9–12 px
• Suggested default: 14–16 px
• Ideal size varies by font
• Different x-height
• Different minimum legible
(example)
127. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
129. [EXAMPLE SLIDE]
Ed Smith Nahhe Nomie Osamu Ikeda Amanda Paull
Mike Marsden
Nathalie
Dumont
Romeo Fahl Jeff Williams
Davin Kluttz Jeremy Bowers Jim Kidwell Marisela Alzuhn
Chris Tew Jim O’Connor Chad Slater Bill Schwanitz
Chris Meyer Richard Bamford Carli Edvalson Don Johnson
Nic Marson John Stalnaker Chris Stevens Renee Schlacter
Andy Nelsen Bernardine Lim Mark Murphy Jonah Perez
Erica Stupfel Clint Daeuble Junko Suzuki Richard Fattic
131. Keep Contrast
• Background color vs.
text color
• Looking good vs.
being readable?
• Legible vs. comfortable
132. Keep Contrast
• Background color vs.
text color
• Looking good vs.
being readable?
• Legible vs. comfortable
• Viewing conditions vary
133. Keep Contrast
• Background color vs.
text color
• Looking good vs.
being readable?
• Legible vs. comfortable
• Viewing conditions vary
• User cannot easily override!
134. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
135. CARE WITH
ALL CAPS
• Bigger than lowercase
• Good for very small sizes & poor
conditions
136. CARE WITH
ALL CAPS
Bigger than lowercase
• Good for very small sizes & poor
conditions
Caps decrease shape differences
• Bad for distinguishing letters and
extended reading
137. CARE WITH
ALL CAPS
Bigger than lowercase
Caps decrease shape differences
Use carefully, in moderation!
138. CAPS FINE IN
HEADING
BUT ALL CAPS ARE TOO MUCH
IN A FULL SENTENCE LIKE
THIS.
• CAPS HELP THIS TINY TEXT
• NAV ELEMENTS?
140. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
142. Underlining is
for amateurs
Acceptable for URLs
• But consider color instead!
Just plain icky for everything else
• Use italics or bold for emphasis
• Make sure your body typeface has
real italics/bold!
• Book titles should be in italics
143. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
152. Web Typesetting
Best Practices
1. Effective Visual Hierarchy
2. Use Hyphenation /
Reconsider Justification
3. Limit & Control Line Length
4. More Line Spacing
5. Standard Paragraph Separation
6. Bigger Body Text
7. Keep Contrast
8. Care with All Caps
9. Underlining is for Amateurs
10. Activate Kerning & Ligatures
11. Bonus: Use Abstraction Layer
156. 5 Ways Web
is not Print
• Layout is fluid
• Color is free (and overused)
• Both text and background colors
157. 5 Ways Web
is not Print
• Layout is fluid
• Color is free (and overused)
• Both text and background colors
• Different available fonts
158. 5 Ways Web
is not Print
• Layout is fluid
• Color is free (and overused)
• Both text and background colors
• Different available fonts
• Font fallback @ the end user
159. 5 Ways Web
is not Print
• Layout is fluid
• Color is free (and overused)
• Both text and background colors
• Different available fonts
• Font fallback @ the end user
• Resolution stinks
• Typically ~80–120 ppi
• Source of many issues
173. Q&A + Resources
• The Elements of Typographic Style
—Robert Bringhurst
• Getting it Right With Type
—Victoria Squire
• Branding with type—Rögener,
Pool, Packhäuser, Ginger
• http://www.webink.com/type-
resources