SlideShare a Scribd company logo
1 of 84
Download to read offline
HINTS &
                SCALES
               The Science & Art of
               Designing With Web Type




Sunday, January 27, 13
I N T RO D U C T I O N S




               Ira F. Cummings

               Brand Strategist and Designer
               email: ira@iracummings.com
               url:       iracummings.com
               twitter: @irafcummings




Sunday, January 27, 13
THE BASIC OUTLINE




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type
               Type Fundamentals




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type
               Type Fundamentals
               Technical Implementation




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type
               Type Fundamentals
               Technical Implementation
               Problems and Solutions




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type
               Type Fundamentals
               Technical Implementation
               Problems and Solutions
               The Future of Web Type




Sunday, January 27, 13
THE BASIC OUTLINE




               The Importance of Web Type
               Type Fundamentals
               Technical Implementation
               Problems and Solutions
               The Future of Web Type
               Resources



Sunday, January 27, 13
Our Definition of Web Type



               Non-system fonts,
               hosted remotely, that are
               displayed on a screen.



Sunday, January 27, 13
What’s
                the Point?

Sunday, January 27, 13
THE PURPOSE OF WEB TYPE




Sunday, January 27, 13
THE PURPOSE OF WEB TYPE




               Branding




Sunday, January 27, 13
THE PURPOSE OF WEB TYPE




               Branding
               Differentiation




Sunday, January 27, 13
THE PURPOSE OF WEB TYPE




               Branding
               Differentiation
               For Your Readers’ Sake




Sunday, January 27, 13
Type
                Fundamentals

Sunday, January 27, 13
Character Terminology
               BASIC CHARACTER ANATOMY




Sunday, January 27, 13
C H A R A C T E R A N AT O M Y




               The parts of a character
               define its personality.
               Understanding the personality helps us choose
               readable typefaces and set them beautifully.




Sunday, January 27, 13
The basic anatomy of characters

Sunday, January 27, 13
Paragraph Terminology
               BASIC PARAGRAPH ANATOMY




Sunday, January 27, 13
P A R A G R A P H A N AT O M Y: M E A S U R E




               Measure
               Very simply, it is the length of a line of text.
               The general guideline is 40–65 characters, give or take
               and depending on the typeface.




Sunday, January 27, 13
The measure needs to be just right

Sunday, January 27, 13
P A R A G R A P H A N AT O M Y: L E A D I N G




               Leading and line height set the spacing
               between lines of type.




Sunday, January 27, 13
The difference between leading a line height

Sunday, January 27, 13
Leading in practice

Sunday, January 27, 13
Exceptions to the leading rules

Sunday, January 27, 13
Making Type Beautiful
               MORE THAN READABLE




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L




               There are three main components
               of beautiful typography:




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L




               There are three main components
               of beautiful typography:
               Contrast




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L




               There are three main components
               of beautiful typography:
               Contrast
               Rhythm




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L




               There are three main components
               of beautiful typography:
               Contrast
               Rhythm
               Spacing




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : C O N T R A S T




               Chose typefaces that are different from
               each other, but work well together.
               Make sure that different content (eg. headers,
               sub-heads, body copy) are visually differentiated.




Sunday, January 27, 13
Typeface pairing examples

Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : R H Y T H M




               Our eyes recognize—and look for—
               visual patterns in content.
               One way to achieve this rhythm is with a baseline grid
               that uses a shared baseline measurement across the
               units of content.




Sunday, January 27, 13
Type with no rhythm

Sunday, January 27, 13
20px Baseline Grid

Sunday, January 27, 13
20px baseline grid

Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : R H Y T H M




               Modular scale
               Another way to create rhythm is with a scale that
               relates to your content or context.




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : R H Y T H M




               Modular scale: an example                            406.4
                                                                    247 .1
                                                                    251.1
               Number 1: 14px (base type size)                      169.4
                                                                    104.7
               Number 2: 40px (touch target size)                   95.9
                                                                    64.7
               Ratio:                  1:1.618 (golden section)     59.3
                                                                    40.0
               Multiply the numbers by the ratio to                 36.6
                                                                    24.7
               derive a variety of number to use.                   22.6
                                                                    15.2
                                                                    14.0
                                                                    9.4
                                                                    8.6




Sunday, January 27, 13
406.4
                                         247 .1
                                         251.1
                                         169.4
                                         104.7
                                         95.9
                                         64.7
                                         59.3
                                         40.0
                                         36.6
                                         24.7
                                         22.6
                                         15.2
                                         14.0
                                         9.4
                                         8.6


               Type with modular scale

Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : R H Y T H M




               It’s easy to build your own scale:
               Use modularscale.com to do the math.




Sunday, January 27, 13
M A K I N G T Y P E B E AU T I F U L : S P A C I N G




               The (negative) space around type is
               just as important as the content.
               Look for ways to creatively focus the readers
               eyes on the content.




Sunday, January 27, 13
Spacing on theverge.com

Sunday, January 27, 13
Technical
                Implementation

Sunday, January 27, 13
Implementation
               THIRD-PARTY SERVICES
               SELF-HOSTED FONT FILES




Sunday, January 27, 13
I M P L E M E N TAT I O N : 3 R D - P A RT Y S E RV I C E S




               3rd-party services provide a license for
               the type, as well as plug-and-play code.
               Services allow access to a large type library for a
               reoccurring fee, usually based on a bandwidth or
               page-view metric.




Sunday, January 27, 13
I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E




               Serving font files from your own server
               via the @font-face CSS attribute.
               Purchase a license and host font files on your
               own server.
               Easy to implement with CSS alone.




Sunday, January 27, 13
I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E



               In your stylesheet:
               @font-face {
               ! font-family: ‘Univers Regular’; /* Typeface name */
               ! src: url('Univers_Reg.eot?') format('embedded-opentype'), !
               ! ! /* IE, ? prevents a 404 on .woff/.ttf tiles */
               ! url('Univers_Reg.otf') format('opentype'), /* Moz/Webkit */
               ! url('Univers_Reg.svg') format('svg'); /* iOS < 4.0 */
               }

               Then:
               p {
               ! font-family: ‘Univers Regular’, ‘Helvetica’, sans-serif;
               ! font-weight: 400; /* avoids browser issues */
               }




Sunday, January 27, 13
Browser Support
               NERVOUS?




Sunday, January 27, 13
B ROW S E R S U P P O RT




               It’s pretty good actually (phew)
               If you serve the right font file, @font-face is
               supported by all modern browsers.
               The main exception is Opera Mini.




Sunday, January 27, 13
I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E




               A note about formats:
               EOT (Embedded Open Type) works for IE and
               only for IE.
               OTF (Open-Type Font) is your best cross-browser
               option, with…
               TTF (True Type Font) and…
               WOFF (Web Open Font Format) coming in second.
               SVG fonts are a legacy for format for old version
               of iOS Safari, the Android browser & Chrome.

Sunday, January 27, 13
Anticipating
                Problems
                & Finding Solutions

Sunday, January 27, 13
Technical Issues
               DOWNLOAD SIZES
               SERVER REQUESTS
               TYPE UNITS




Sunday, January 27, 13
T E C H N I C A L I S S U E S : D OW N L O A D S I Z E S&




               Keeping download file size small will
               improve the experience all around.
               Minimize the size and number of different font files
               that a user has to download.




Sunday, January 27, 13
TECHNICAL ISSUES: HTTP REQUESTS




               With each server request there is the
               potential for more issues.




Sunday, January 27, 13
TECHNICAL ISSUES: TYPE UNITS




               With CSS, there are a variety of ways
               to define the size of type (and leading,
               spacing, layout…).
               Ems are still the best bet, but the math can get
               tricky since the context is important.




Sunday, January 27, 13
Aesthetic Issues
               RESPONSIVE DESIGN
               SCREEN RENDERING
               FREE FONTS
               FONT STACKS
               READABILITY



Sunday, January 27, 13
AESTHETIC ISSUES: RESPONSIVE DESIGN




               As the layout changes with context, your
               type needs to change as well.
               When content width changes, the measure, leading
               and spacing should remain comfortable.




Sunday, January 27, 13
AESTHETIC ISSUES: TYPE RENDERING ON SCREEN




               Type rendering can vary widely.
               Results will be different based on platform,
               operating system, browser, typeface and even
               the version of the typeface.




Sunday, January 27, 13
Type rendering from vector to bitmap

Sunday, January 27, 13
A word of caution: beware the
               free web fonts.




Sunday, January 27, 13
Dangerous waters ahead…

Sunday, January 27, 13
A E S T H E T I C I S S U E S : F O N T S TA C K S




               Even though you’re serving font files, you
               still need to consider your font stacks.




Sunday, January 27, 13
A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K




               There is really one thing that you can do
               to ensure excellent typography:




Sunday, January 27, 13
A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K




               There is really one thing that you can do
               to ensure excellent typography:
               Test




Sunday, January 27, 13
The Future of
                Type on the Web


Sunday, January 27, 13
Symbol
               & Icon Fonts
               RESOLUTION-INDEPENDENT GRAPHICS FTW




Sunday, January 27, 13
SYMBOL & ICON FONTS




               Save bandwidth and gain
               resolution independence.
               Currently, the best usage is as icons to complement
               text or as fancy glyphs that have good fallbacks.




Sunday, January 27, 13
The Foundation Icon Font…font

Sunday, January 27, 13
Ligatures
               TWO USES FOR JOINING CHARACTERS




Sunday, January 27, 13
L I G AT U R E S




               Ligature support is on the horizon, but
               relies on support from both browser
               makers and type foundries, not to mention
               the operating system.
               Currently in the CSS3 draft as an option of the
               font-features-setting property.




Sunday, January 27, 13
Why ligatures are important

Sunday, January 27, 13
T H E L I T T L E S T U F F : L I G AT U R E S




               Beyond more pleasing character
               combinations, ligatures could allow
               creative use of type.




Sunday, January 27, 13
FF Chartwell

Sunday, January 27, 13
Symbolset typefaces

Sunday, January 27, 13
Resources


Sunday, January 27, 13
R E S O U RC E S : M O D E R N I Z R




               Modernizr to detect @font-face support




Sunday, January 27, 13
R E S O U RC E S : F O N T S Q U I R R E L @ F O N T- F A C E G E N E R AT O R




               Creates @font-face packages




Sunday, January 27, 13
R E S O U RC E S : F O N T F O N T S U B S E T T E R




               Strip fonts of non-essential characters




Sunday, January 27, 13
R E S O U RC E S : R E S P O N S I V E T Y P E




               FitText expands or shrinks type
               based on context




Sunday, January 27, 13
Set web type in context, in real time




Sunday, January 27, 13
R E S O U RC E S : L I N K S




               Slides and additional links
               available at:
               http://iracummings.com/type-talk/




Sunday, January 27, 13
THANKS
                Any questions?




Sunday, January 27, 13
CREDITS




               This presentation set in Univers and
               Hoefler Text, designed by Adrian Frutiger
               and Jonathan Hoefler, respectively.

               Demonstration copy is taken from
               en.wikipedia.org/wiki/Typography.

               All photographic images pulled from The
               Commons on flickr.com.

               All images of websites are captured from
               their respective domains.

               Other content and images created by
               Ira F. Cummings.

               This presentation created on a Mac
               with Keynote.




Sunday, January 27, 13

More Related Content

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Hints & Scales: The Art and Science of Web Type

  • 1. HINTS & SCALES The Science & Art of Designing With Web Type Sunday, January 27, 13
  • 2. I N T RO D U C T I O N S Ira F. Cummings Brand Strategist and Designer email: ira@iracummings.com url: iracummings.com twitter: @irafcummings Sunday, January 27, 13
  • 3. THE BASIC OUTLINE Sunday, January 27, 13
  • 4. THE BASIC OUTLINE The Importance of Web Type Sunday, January 27, 13
  • 5. THE BASIC OUTLINE The Importance of Web Type Type Fundamentals Sunday, January 27, 13
  • 6. THE BASIC OUTLINE The Importance of Web Type Type Fundamentals Technical Implementation Sunday, January 27, 13
  • 7. THE BASIC OUTLINE The Importance of Web Type Type Fundamentals Technical Implementation Problems and Solutions Sunday, January 27, 13
  • 8. THE BASIC OUTLINE The Importance of Web Type Type Fundamentals Technical Implementation Problems and Solutions The Future of Web Type Sunday, January 27, 13
  • 9. THE BASIC OUTLINE The Importance of Web Type Type Fundamentals Technical Implementation Problems and Solutions The Future of Web Type Resources Sunday, January 27, 13
  • 10. Our Definition of Web Type Non-system fonts, hosted remotely, that are displayed on a screen. Sunday, January 27, 13
  • 11. What’s the Point? Sunday, January 27, 13
  • 12. THE PURPOSE OF WEB TYPE Sunday, January 27, 13
  • 13. THE PURPOSE OF WEB TYPE Branding Sunday, January 27, 13
  • 14. THE PURPOSE OF WEB TYPE Branding Differentiation Sunday, January 27, 13
  • 15. THE PURPOSE OF WEB TYPE Branding Differentiation For Your Readers’ Sake Sunday, January 27, 13
  • 16. Type Fundamentals Sunday, January 27, 13
  • 17. Character Terminology BASIC CHARACTER ANATOMY Sunday, January 27, 13
  • 18. C H A R A C T E R A N AT O M Y The parts of a character define its personality. Understanding the personality helps us choose readable typefaces and set them beautifully. Sunday, January 27, 13
  • 19. The basic anatomy of characters Sunday, January 27, 13
  • 20. Paragraph Terminology BASIC PARAGRAPH ANATOMY Sunday, January 27, 13
  • 21. P A R A G R A P H A N AT O M Y: M E A S U R E Measure Very simply, it is the length of a line of text. The general guideline is 40–65 characters, give or take and depending on the typeface. Sunday, January 27, 13
  • 22. The measure needs to be just right Sunday, January 27, 13
  • 23. P A R A G R A P H A N AT O M Y: L E A D I N G Leading and line height set the spacing between lines of type. Sunday, January 27, 13
  • 24. The difference between leading a line height Sunday, January 27, 13
  • 25. Leading in practice Sunday, January 27, 13
  • 26. Exceptions to the leading rules Sunday, January 27, 13
  • 27. Making Type Beautiful MORE THAN READABLE Sunday, January 27, 13
  • 28. M A K I N G T Y P E B E AU T I F U L There are three main components of beautiful typography: Sunday, January 27, 13
  • 29. M A K I N G T Y P E B E AU T I F U L There are three main components of beautiful typography: Contrast Sunday, January 27, 13
  • 30. M A K I N G T Y P E B E AU T I F U L There are three main components of beautiful typography: Contrast Rhythm Sunday, January 27, 13
  • 31. M A K I N G T Y P E B E AU T I F U L There are three main components of beautiful typography: Contrast Rhythm Spacing Sunday, January 27, 13
  • 32. M A K I N G T Y P E B E AU T I F U L : C O N T R A S T Chose typefaces that are different from each other, but work well together. Make sure that different content (eg. headers, sub-heads, body copy) are visually differentiated. Sunday, January 27, 13
  • 34. M A K I N G T Y P E B E AU T I F U L : R H Y T H M Our eyes recognize—and look for— visual patterns in content. One way to achieve this rhythm is with a baseline grid that uses a shared baseline measurement across the units of content. Sunday, January 27, 13
  • 35. Type with no rhythm Sunday, January 27, 13
  • 36. 20px Baseline Grid Sunday, January 27, 13
  • 37. 20px baseline grid Sunday, January 27, 13
  • 38. M A K I N G T Y P E B E AU T I F U L : R H Y T H M Modular scale Another way to create rhythm is with a scale that relates to your content or context. Sunday, January 27, 13
  • 39. M A K I N G T Y P E B E AU T I F U L : R H Y T H M Modular scale: an example 406.4 247 .1 251.1 Number 1: 14px (base type size) 169.4 104.7 Number 2: 40px (touch target size) 95.9 64.7 Ratio: 1:1.618 (golden section) 59.3 40.0 Multiply the numbers by the ratio to 36.6 24.7 derive a variety of number to use. 22.6 15.2 14.0 9.4 8.6 Sunday, January 27, 13
  • 40. 406.4 247 .1 251.1 169.4 104.7 95.9 64.7 59.3 40.0 36.6 24.7 22.6 15.2 14.0 9.4 8.6 Type with modular scale Sunday, January 27, 13
  • 41. M A K I N G T Y P E B E AU T I F U L : R H Y T H M It’s easy to build your own scale: Use modularscale.com to do the math. Sunday, January 27, 13
  • 42. M A K I N G T Y P E B E AU T I F U L : S P A C I N G The (negative) space around type is just as important as the content. Look for ways to creatively focus the readers eyes on the content. Sunday, January 27, 13
  • 44. Technical Implementation Sunday, January 27, 13
  • 45. Implementation THIRD-PARTY SERVICES SELF-HOSTED FONT FILES Sunday, January 27, 13
  • 46. I M P L E M E N TAT I O N : 3 R D - P A RT Y S E RV I C E S 3rd-party services provide a license for the type, as well as plug-and-play code. Services allow access to a large type library for a reoccurring fee, usually based on a bandwidth or page-view metric. Sunday, January 27, 13
  • 47. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E Serving font files from your own server via the @font-face CSS attribute. Purchase a license and host font files on your own server. Easy to implement with CSS alone. Sunday, January 27, 13
  • 48. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E In your stylesheet: @font-face { ! font-family: ‘Univers Regular’; /* Typeface name */ ! src: url('Univers_Reg.eot?') format('embedded-opentype'), ! ! ! /* IE, ? prevents a 404 on .woff/.ttf tiles */ ! url('Univers_Reg.otf') format('opentype'), /* Moz/Webkit */ ! url('Univers_Reg.svg') format('svg'); /* iOS < 4.0 */ } Then: p { ! font-family: ‘Univers Regular’, ‘Helvetica’, sans-serif; ! font-weight: 400; /* avoids browser issues */ } Sunday, January 27, 13
  • 49. Browser Support NERVOUS? Sunday, January 27, 13
  • 50. B ROW S E R S U P P O RT It’s pretty good actually (phew) If you serve the right font file, @font-face is supported by all modern browsers. The main exception is Opera Mini. Sunday, January 27, 13
  • 51. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E A note about formats: EOT (Embedded Open Type) works for IE and only for IE. OTF (Open-Type Font) is your best cross-browser option, with… TTF (True Type Font) and… WOFF (Web Open Font Format) coming in second. SVG fonts are a legacy for format for old version of iOS Safari, the Android browser & Chrome. Sunday, January 27, 13
  • 52. Anticipating Problems & Finding Solutions Sunday, January 27, 13
  • 53. Technical Issues DOWNLOAD SIZES SERVER REQUESTS TYPE UNITS Sunday, January 27, 13
  • 54. T E C H N I C A L I S S U E S : D OW N L O A D S I Z E S& Keeping download file size small will improve the experience all around. Minimize the size and number of different font files that a user has to download. Sunday, January 27, 13
  • 55. TECHNICAL ISSUES: HTTP REQUESTS With each server request there is the potential for more issues. Sunday, January 27, 13
  • 56. TECHNICAL ISSUES: TYPE UNITS With CSS, there are a variety of ways to define the size of type (and leading, spacing, layout…). Ems are still the best bet, but the math can get tricky since the context is important. Sunday, January 27, 13
  • 57. Aesthetic Issues RESPONSIVE DESIGN SCREEN RENDERING FREE FONTS FONT STACKS READABILITY Sunday, January 27, 13
  • 58. AESTHETIC ISSUES: RESPONSIVE DESIGN As the layout changes with context, your type needs to change as well. When content width changes, the measure, leading and spacing should remain comfortable. Sunday, January 27, 13
  • 59. AESTHETIC ISSUES: TYPE RENDERING ON SCREEN Type rendering can vary widely. Results will be different based on platform, operating system, browser, typeface and even the version of the typeface. Sunday, January 27, 13
  • 60. Type rendering from vector to bitmap Sunday, January 27, 13
  • 61. A word of caution: beware the free web fonts. Sunday, January 27, 13
  • 63. A E S T H E T I C I S S U E S : F O N T S TA C K S Even though you’re serving font files, you still need to consider your font stacks. Sunday, January 27, 13
  • 64. A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K There is really one thing that you can do to ensure excellent typography: Sunday, January 27, 13
  • 65. A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K There is really one thing that you can do to ensure excellent typography: Test Sunday, January 27, 13
  • 66. The Future of Type on the Web Sunday, January 27, 13
  • 67. Symbol & Icon Fonts RESOLUTION-INDEPENDENT GRAPHICS FTW Sunday, January 27, 13
  • 68. SYMBOL & ICON FONTS Save bandwidth and gain resolution independence. Currently, the best usage is as icons to complement text or as fancy glyphs that have good fallbacks. Sunday, January 27, 13
  • 69. The Foundation Icon Font…font Sunday, January 27, 13
  • 70. Ligatures TWO USES FOR JOINING CHARACTERS Sunday, January 27, 13
  • 71. L I G AT U R E S Ligature support is on the horizon, but relies on support from both browser makers and type foundries, not to mention the operating system. Currently in the CSS3 draft as an option of the font-features-setting property. Sunday, January 27, 13
  • 72. Why ligatures are important Sunday, January 27, 13
  • 73. T H E L I T T L E S T U F F : L I G AT U R E S Beyond more pleasing character combinations, ligatures could allow creative use of type. Sunday, January 27, 13
  • 77. R E S O U RC E S : M O D E R N I Z R Modernizr to detect @font-face support Sunday, January 27, 13
  • 78. R E S O U RC E S : F O N T S Q U I R R E L @ F O N T- F A C E G E N E R AT O R Creates @font-face packages Sunday, January 27, 13
  • 79. R E S O U RC E S : F O N T F O N T S U B S E T T E R Strip fonts of non-essential characters Sunday, January 27, 13
  • 80. R E S O U RC E S : R E S P O N S I V E T Y P E FitText expands or shrinks type based on context Sunday, January 27, 13
  • 81. Set web type in context, in real time Sunday, January 27, 13
  • 82. R E S O U RC E S : L I N K S Slides and additional links available at: http://iracummings.com/type-talk/ Sunday, January 27, 13
  • 83. THANKS Any questions? Sunday, January 27, 13
  • 84. CREDITS This presentation set in Univers and Hoefler Text, designed by Adrian Frutiger and Jonathan Hoefler, respectively. Demonstration copy is taken from en.wikipedia.org/wiki/Typography. All photographic images pulled from The Commons on flickr.com. All images of websites are captured from their respective domains. Other content and images created by Ira F. Cummings. This presentation created on a Mac with Keynote. Sunday, January 27, 13