SlideShare a Scribd company logo
1 of 62
Presented by Thomas Phinney
Part 2:
Setting Type
15 Things
10 web typesetting best practices

5 ways web type is not print
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Use an
Abstraction Layer
Example website >
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
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
Hyphenation:
Why?
More even spacing w/justified
text (reduce/eliminate “rivers”)
Hyphenation:
Why?
•  Even for non-justified
(“ragged”) text:
more even “rag” edge
•  Tradition
Hyphenation:
examples
Hyphenation:
How?
•  CSS 3
•  -webkit-hyphens: auto;
(Safari 5.1+, Chrome 13+)
•  -moz-hyphens: auto; (FF 6+)
•  -ms-hyphens: auto; (IE 10+)
•  -o-hyphens: auto (O unsupported)
•  hyphens: auto
Hyphenation:
Notes
•  Some browsers req. ‘lang’
attribute on text to hyphenate
•  CSS3 has even more controls…
Reconsider
Justification
•  Standard: “Full justification”
•  Consider “Ragged right”
•  Better default choice
•  Interactions with line length
& hyphenation
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
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;
Line length
research?
•  Shaikh & Chaparro (2004)
•  35, 55, 75, 95 cpl
•  35–75 similar speed
•  95 cpl = +6% speed
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
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Line Spacing
•  CSS “line-height”
a.k.a “Leading”
•  Large x-height >
more line spacing
•  Longer lines >
more line spacing
Line Spacing:
example
•  http://www.w3schools.com/
cssref/playit.asp?
filename=playcss_line-height
More Line Spacing
•  “Normal” (default) ≠ 1
•  Includes ~20% extra space
•  Varies depending on font
vertical metrics
•  Consider 1.3–1.6
line-spacing
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Paragraph
Separation
•  Full line space is default
•  +/- from there
•  p { margin-top: 1em; }
•  p + p { margin-top: 1em; }
•  When first line indent?
•  When both?
•  When eliminate?
•  When indent entire block?
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
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)
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Maintain Contrast
•  What kind of contrast?
•  [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
Maintain Contrast
•  Background color vs.
text color
•  Looking good vs.
being readable?
•  Legible vs. comfortable
•  Viewing conditions vary
•  User cannot easily override!
•  [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
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
CARE WITH
ALL CAPS
•  Bigger than lowercase
•  Good for very small sizes &
poor conditions
•  Decrease shape differences
•  Bad for distinguishing letters
and extended reading
•  Use carefully, in moderation!
CAPS FINE IN
HEADING
•  BUT ALL CAPS ARE TOO
MUCH IN A FULL SENTENCE
LIKE THIS.
•  CAPS HELP THIS TINY TEXT
•  NAV ELEMENTS?
Some typefaces
suck in caps
• EáÑxv|tÄÄç fvÜ|Ñà YÉÇàá
• fVecg Ybagf
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Underlining is for
amateurs
•  Except, acceptable for URLs
•  But consider color instead!
•  Just plain icky for
everything else
•  Use bold or italic for emphasis
•  Book titles should be in italics
Underlining is for
amateurs
•  Faux bold & italic
•  Body typeface must be set up
with real bold and italic!
•  Otherwise, OS will fake it
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Kerning
•  Spacing adjustment between
specific letter pairs
•  Info built into font
Kerning
• Toe WAVERY 
•  with kerning
• Toe WAVERY 
•  without kerning
Ligatures
•  Glyphs that link together!
• fi fl ff ft ffl ffi
•  The official files often fly in.…"
•  The official files often fly in.…
Enabling Kerning
& Ligatures
•  text-rendering:
optimizeLegibility
•  Turns on kerning and ligatures
•  Supported in Firefox 4+
•  OpenType feature calls
•  CSS3 feature
Enable Kerning &
Ligatures in CSS
body {
-moz-font-feature-settings:"liga", "kern";
-moz-font-feature-settings:"liga=1, kern=1";
-ms-font-feature-settings:"liga", "kern";
-o-font-feature-settings:"liga", "kern";
-webkit-font-feature-settings:"liga", "kern";
font-feature-settings:"liga", "kern";
text-rendering:optimizeLegibility;
}
10 Web Typesetting
Best Practices
1.  Abstraction Layer
2.  Use Hyphenation / Reconsider
Justification
3.  Limit & Control Line Length
4.  More Line Spacing
5.  Standard Paragraph Separation
6.  Bigger Body Text
7.  Maintain Contrast
8.  Care with All Caps
9.  Underlining is for Amateurs
10.  Activate Kerning & Ligatures
11.  Bonus: Effective Visual Hierarchy
Effective Visual
Hierarchy
•  General
•  http://webdesign.tutsplus.com/
articles/design-theory/
understanding-visual-
hierarchy-in-web-design/
•  Example site:
http://net.tutsplus.com/
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
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Size change
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Same techniques as other elements
•  Location, proximity, background, etc.
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Weight & Width
extralight, light, regular, semibold bold,
black, condensed, semi-condensed,
regular, semi-extended, etc.
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Italics
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Color change
Effective Visual
Hierarchy: Type
6 ways to distinguish/emphasize type
•  Different typeface altogether
Effective Visual
Hierarchy: Type
6 ways: not all at once!
•  Same techniques as other elements
•  Location, proximity, background, etc.
•  Size change
•  Weight & Width
•  Italics
•  Color change
•  Different typeface altogether
Effective Visual
Hierarchy
•  Minimalism
•  Restrict # Roles like # Sizes, but
a few more
15 Things
10 web typesetting best practices

5 ways web type is not print
5 Ways Web Differs
from Print
•  Layout is fluid
•  Color is free (and overused)
•  Both text and background colors
•  Different available fonts
•  Font fallback @ the end user
•  Resolution often stinks
•  Often~80–120 ppi
•  Source of many issues
Summing Up?
Keep it attractive
But make it legible
Keep it attractive
&
But make it legible
Resources
& Links
•  http://www.webink.com/
type-resources
•  http://blog.webink.com
•  @WebINK
•  @ThomasPhinney

More Related Content

Viewers also liked

Healing the pain, responding to bad experiences to boost customer loyalty
Healing the pain, responding to bad experiences to boost customer loyaltyHealing the pain, responding to bad experiences to boost customer loyalty
Healing the pain, responding to bad experiences to boost customer loyalty
Ipsos France
 

Viewers also liked (6)

Rätsel PRISONBREAK
Rätsel PRISONBREAKRätsel PRISONBREAK
Rätsel PRISONBREAK
 
Seminario Sobre San Pablo
Seminario Sobre San PabloSeminario Sobre San Pablo
Seminario Sobre San Pablo
 
.brand -Trade Mark Protection and the Internet Revolution
.brand -Trade Mark Protection and the Internet Revolution.brand -Trade Mark Protection and the Internet Revolution
.brand -Trade Mark Protection and the Internet Revolution
 
دریاچه ارومیه نتیجه تغییر اقلیم یا تغییر مصرف
دریاچه ارومیه نتیجه تغییر اقلیم یا تغییر مصرفدریاچه ارومیه نتیجه تغییر اقلیم یا تغییر مصرف
دریاچه ارومیه نتیجه تغییر اقلیم یا تغییر مصرف
 
My research for rural education
My research for rural educationMy research for rural education
My research for rural education
 
Healing the pain, responding to bad experiences to boost customer loyalty
Healing the pain, responding to bad experiences to boost customer loyaltyHealing the pain, responding to bad experiences to boost customer loyalty
Healing the pain, responding to bad experiences to boost customer loyalty
 

Similar to Web Safe Fonts are Dead Series | Part 2: Setting Type for Web Sites

The View - Lotusscript coding best practices
The View - Lotusscript coding best practicesThe View - Lotusscript coding best practices
The View - Lotusscript coding best practices
Bill Buchan
 
Writing for the web
Writing for the webWriting for the web
Writing for the web
JamesCarney
 

Similar to Web Safe Fonts are Dead Series | Part 2: Setting Type for Web Sites (20)

Писане за Уеб в 10 прости правила
Писане за Уеб в 10 прости правилаПисане за Уеб в 10 прости правила
Писане за Уеб в 10 прости правила
 
Web Content Standards
Web Content StandardsWeb Content Standards
Web Content Standards
 
Futureproofing REST APIs
Futureproofing REST APIsFutureproofing REST APIs
Futureproofing REST APIs
 
Extensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions PortlandExtensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions Portland
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
 
The View - Lotusscript coding best practices
The View - Lotusscript coding best practicesThe View - Lotusscript coding best practices
The View - Lotusscript coding best practices
 
Writing for the web
Writing for the webWriting for the web
Writing for the web
 
Writing for the web
Writing for the webWriting for the web
Writing for the web
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
 
Drupal 7: Theming with Omega
Drupal 7: Theming with OmegaDrupal 7: Theming with Omega
Drupal 7: Theming with Omega
 
The Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for PrintThe Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for Print
 
Web typography
Web typographyWeb typography
Web typography
 
Week 8 - Interactive News Editing and Producing
Week 8 - Interactive News Editing and ProducingWeek 8 - Interactive News Editing and Producing
Week 8 - Interactive News Editing and Producing
 
Reading Notes : the practice of programming
Reading Notes : the practice of programmingReading Notes : the practice of programming
Reading Notes : the practice of programming
 
Writing For The Web - PPT
Writing For The Web - PPTWriting For The Web - PPT
Writing For The Web - PPT
 
What is-sass-by-lucas-castro
What is-sass-by-lucas-castroWhat is-sass-by-lucas-castro
What is-sass-by-lucas-castro
 
Creating Living Style Guides to Improve Performance
Creating Living Style Guides to Improve PerformanceCreating Living Style Guides to Improve Performance
Creating Living Style Guides to Improve Performance
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014
 
Web Standards and Accessibility
Web Standards and AccessibilityWeb Standards and Accessibility
Web Standards and Accessibility
 
Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...
 

More from Extensis

More from Extensis (20)

Extensis portfolio: How to Effectively Manage Thousand of Digital Assets
Extensis portfolio: How to Effectively Manage Thousand of Digital AssetsExtensis portfolio: How to Effectively Manage Thousand of Digital Assets
Extensis portfolio: How to Effectively Manage Thousand of Digital Assets
 
IAITAM Spring ACE, Extensis Presentation
IAITAM Spring ACE, Extensis PresentationIAITAM Spring ACE, Extensis Presentation
IAITAM Spring ACE, Extensis Presentation
 
Creating a Branding Style Guide by Pariah Burke
Creating a Branding Style Guide by Pariah BurkeCreating a Branding Style Guide by Pariah Burke
Creating a Branding Style Guide by Pariah Burke
 
Intro to Digital Asset Management (DAM)
Intro to Digital Asset Management (DAM)Intro to Digital Asset Management (DAM)
Intro to Digital Asset Management (DAM)
 
SANDOW: Universal Type Server Implementation Case Study
SANDOW: Universal Type Server Implementation Case StudySANDOW: Universal Type Server Implementation Case Study
SANDOW: Universal Type Server Implementation Case Study
 
DAM Case Study
DAM Case StudyDAM Case Study
DAM Case Study
 
Future Trends in Font Management
Future Trends in Font ManagementFuture Trends in Font Management
Future Trends in Font Management
 
Artificial Intelligence & DAM: The New Metadata Workhorse with Clarifai
Artificial Intelligence & DAM: The New Metadata Workhorse with ClarifaiArtificial Intelligence & DAM: The New Metadata Workhorse with Clarifai
Artificial Intelligence & DAM: The New Metadata Workhorse with Clarifai
 
Fonts, Images, Licenses and Intellectual Property Law
Fonts, Images, Licenses and Intellectual Property LawFonts, Images, Licenses and Intellectual Property Law
Fonts, Images, Licenses and Intellectual Property Law
 
Using DAM to improve your productivity
Using DAM to improve your productivityUsing DAM to improve your productivity
Using DAM to improve your productivity
 
Webcast: Making File Metadata Work
Webcast: Making File Metadata WorkWebcast: Making File Metadata Work
Webcast: Making File Metadata Work
 
Webcast: Getting Started With DAM
Webcast: Getting Started With DAMWebcast: Getting Started With DAM
Webcast: Getting Started With DAM
 
Font Trends Survey REport
Font Trends Survey REportFont Trends Survey REport
Font Trends Survey REport
 
Vjoon K4 Overview at the NYC Fonts in Publishing Seminar
Vjoon K4 Overview at the NYC Fonts in Publishing SeminarVjoon K4 Overview at the NYC Fonts in Publishing Seminar
Vjoon K4 Overview at the NYC Fonts in Publishing Seminar
 
FontLink - Serving Fonts in your Adobe InDesign Server Workflow
FontLink - Serving Fonts in your Adobe InDesign Server WorkflowFontLink - Serving Fonts in your Adobe InDesign Server Workflow
FontLink - Serving Fonts in your Adobe InDesign Server Workflow
 
Fonts in Publishing - What's the issue?
Fonts in Publishing - What's the issue?Fonts in Publishing - What's the issue?
Fonts in Publishing - What's the issue?
 
Your web font is crap - webvisions pdx 2014
Your web font is crap - webvisions pdx 2014Your web font is crap - webvisions pdx 2014
Your web font is crap - webvisions pdx 2014
 
The State of Fonts & Font Management - Chicago IDUG
The State of Fonts & Font Management - Chicago IDUGThe State of Fonts & Font Management - Chicago IDUG
The State of Fonts & Font Management - Chicago IDUG
 
Fonts, Licenses and Intellectual Property Law - Chicago Font Symposium
Fonts, Licenses and Intellectual Property Law - Chicago Font SymposiumFonts, Licenses and Intellectual Property Law - Chicago Font Symposium
Fonts, Licenses and Intellectual Property Law - Chicago Font Symposium
 
Chicago Font Symposium - The Evolution of Font Management
Chicago Font Symposium - The Evolution of Font ManagementChicago Font Symposium - The Evolution of Font Management
Chicago Font Symposium - The Evolution of Font Management
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Web Safe Fonts are Dead Series | Part 2: Setting Type for Web Sites

  • 3. 15 Things 10 web typesetting best practices 5 ways web type is not print
  • 4. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 5. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 7. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 8. 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
  • 9. Hyphenation: Why? More even spacing w/justified text (reduce/eliminate “rivers”)
  • 10. Hyphenation: Why? •  Even for non-justified (“ragged”) text: more even “rag” edge •  Tradition
  • 12. Hyphenation: How? •  CSS 3 •  -webkit-hyphens: auto; (Safari 5.1+, Chrome 13+) •  -moz-hyphens: auto; (FF 6+) •  -ms-hyphens: auto; (IE 10+) •  -o-hyphens: auto (O unsupported) •  hyphens: auto
  • 13. Hyphenation: Notes •  Some browsers req. ‘lang’ attribute on text to hyphenate •  CSS3 has even more controls…
  • 14. Reconsider Justification •  Standard: “Full justification” •  Consider “Ragged right” •  Better default choice •  Interactions with line length & hyphenation
  • 15. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 16. 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;
  • 17. Line length research? •  Shaikh & Chaparro (2004) •  35, 55, 75, 95 cpl •  35–75 similar speed •  95 cpl = +6% speed
  • 18. 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
  • 19. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 20. Line Spacing •  CSS “line-height” a.k.a “Leading” •  Large x-height > more line spacing •  Longer lines > more line spacing
  • 22. More Line Spacing •  “Normal” (default) ≠ 1 •  Includes ~20% extra space •  Varies depending on font vertical metrics •  Consider 1.3–1.6 line-spacing
  • 23. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 24. Paragraph Separation •  Full line space is default •  +/- from there •  p { margin-top: 1em; } •  p + p { margin-top: 1em; } •  When first line indent? •  When both? •  When eliminate? •  When indent entire block?
  • 25. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 26. 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)
  • 27. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 28. Maintain Contrast •  What kind of contrast?
  • 29. •  [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
  • 30. Maintain Contrast •  Background color vs. text color •  Looking good vs. being readable? •  Legible vs. comfortable •  Viewing conditions vary •  User cannot easily override!
  • 31. •  [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
  • 32. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 33. CARE WITH ALL CAPS •  Bigger than lowercase •  Good for very small sizes & poor conditions •  Decrease shape differences •  Bad for distinguishing letters and extended reading •  Use carefully, in moderation!
  • 34. CAPS FINE IN HEADING •  BUT ALL CAPS ARE TOO MUCH IN A FULL SENTENCE LIKE THIS. •  CAPS HELP THIS TINY TEXT •  NAV ELEMENTS?
  • 35. Some typefaces suck in caps • EáÑxv|tÄÄç fvÜ|Ñà YÉÇàá • fVecg Ybagf
  • 36. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 37. Underlining is for amateurs •  Except, acceptable for URLs •  But consider color instead! •  Just plain icky for everything else •  Use bold or italic for emphasis •  Book titles should be in italics
  • 38. Underlining is for amateurs •  Faux bold & italic •  Body typeface must be set up with real bold and italic! •  Otherwise, OS will fake it
  • 39. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 40. Kerning •  Spacing adjustment between specific letter pairs •  Info built into font
  • 41. Kerning • Toe WAVERY •  with kerning • Toe WAVERY •  without kerning
  • 42. Ligatures •  Glyphs that link together! • fi fl ff ft ffl ffi •  The official files often fly in.…" •  The official files often fly in.…
  • 43. Enabling Kerning & Ligatures •  text-rendering: optimizeLegibility •  Turns on kerning and ligatures •  Supported in Firefox 4+ •  OpenType feature calls •  CSS3 feature
  • 44. Enable Kerning & Ligatures in CSS body { -moz-font-feature-settings:"liga", "kern"; -moz-font-feature-settings:"liga=1, kern=1"; -ms-font-feature-settings:"liga", "kern"; -o-font-feature-settings:"liga", "kern"; -webkit-font-feature-settings:"liga", "kern"; font-feature-settings:"liga", "kern"; text-rendering:optimizeLegibility; }
  • 45. 10 Web Typesetting Best Practices 1.  Abstraction Layer 2.  Use Hyphenation / Reconsider Justification 3.  Limit & Control Line Length 4.  More Line Spacing 5.  Standard Paragraph Separation 6.  Bigger Body Text 7.  Maintain Contrast 8.  Care with All Caps 9.  Underlining is for Amateurs 10.  Activate Kerning & Ligatures 11.  Bonus: Effective Visual Hierarchy
  • 46. Effective Visual Hierarchy •  General •  http://webdesign.tutsplus.com/ articles/design-theory/ understanding-visual- hierarchy-in-web-design/ •  Example site: http://net.tutsplus.com/
  • 47. 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
  • 48. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type
  • 49. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Size change
  • 50. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Same techniques as other elements •  Location, proximity, background, etc.
  • 51. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Weight & Width extralight, light, regular, semibold bold, black, condensed, semi-condensed, regular, semi-extended, etc.
  • 52. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Italics
  • 53. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Color change
  • 54. Effective Visual Hierarchy: Type 6 ways to distinguish/emphasize type •  Different typeface altogether
  • 55. Effective Visual Hierarchy: Type 6 ways: not all at once! •  Same techniques as other elements •  Location, proximity, background, etc. •  Size change •  Weight & Width •  Italics •  Color change •  Different typeface altogether
  • 56. Effective Visual Hierarchy •  Minimalism •  Restrict # Roles like # Sizes, but a few more
  • 57. 15 Things 10 web typesetting best practices 5 ways web type is not print
  • 58. 5 Ways Web Differs from Print •  Layout is fluid •  Color is free (and overused) •  Both text and background colors •  Different available fonts •  Font fallback @ the end user •  Resolution often stinks •  Often~80–120 ppi •  Source of many issues
  • 60. Keep it attractive But make it legible
  • 61. Keep it attractive & But make it legible
  • 62. Resources & Links •  http://www.webink.com/ type-resources •  http://blog.webink.com •  @WebINK •  @ThomasPhinney