SlideShare a Scribd company logo
THE TYPE WE WANT
   Fonts on the Web
WHAT DOES TYPOGRAPHY DO?
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
TYPOGRAPHY HELPS DEFINE…
•    Style
•    Feel
•    Mood
•    Readability
FONT TAG
Ooh, we can make it pretty!
FONT TAG
<font	
  face="Arial"	
  size="3">	
  
	
  	
  I	
  feel	
  pretty.	
  Oh	
  so	
  pretty.	
  
</font>	
  
IMAGES
Any font but at what price?
IMAGES
•  Images allows for any font to be used
•  Performance
•  Only practical for limited items with
   short text
•  Abused by clients
•  Printing is less than ideal
•  No text selection
TEXTORIZE
•    Server-based image generation
•    Uses Mac OS X rendering engine
•    Sub-pixel Anti-aliasing
•    Ruby-based
•  http://textorize.org/
CSS FONT STACKS
Flexible design but who gets to see it?
CSS FONT STACKS
#pretty	
  {	
  
	
  	
  font-­‐family:	
  Arial,	
  Helvetica,	
  
      sans-­‐serif;	
  
}	
  
#prettier	
  {	
  
	
  	
  font-­‐family:	
  "Gotham	
  Medium",	
  
      sans-­‐serif;	
  
}	
  
OOPS!
<p	
  class="bodytext">I	
  want	
  to	
  look	
  
  pretty</p>	
  
<p	
  class="bodytext">I	
  want	
  to	
  feel	
  
  pretty</p>	
  
<p	
  class="bodytext">I	
  want	
  to	
  be	
  
  pretty</p>	
  
COMMON FONT STACKS
•    Arial, Helvetica, sans-serif
•    Courier New, Courier, monospace
•    Times New Roman, Times, serif
•    Georgia, Times New Roman, Times, serif
•    Verdana, Arial, Helvetica, sans-serif
•    Geneva, Arial, Helvetica, sans-serif
COMPLEX FONT STACKS
"Segoe UI", Candara, "Bitstream Vera Sans",
  "DejaVu Sans", "Bitstream Vera Sans",
  "Trebuchet MS", Verdana, "Verdana Ref",
  sans-serif
COMPLEX FONT STACK
•  Better Font Stacks
 http://unitinteractive.com/blog/2008/06/26/better-
 css-font-stacks/
•  8 Definitive Web Font Stacks
 http://articles.sitepoint.com/article/eight-definitive-
 font-stacks
SIFR, CUFÓN, TYPEFACE
  Now we’re getting somewhere
SIFR
•    requires JavaScript AND Flash
•    Slow for a lot of elements
•    Best used for headlines
•    Can be difficult to tweak
•    Support for CSS features is limited
CUFÓN
•  Generates SVG font and VML outlines
•  Draws to <canvas> in all browsers that
   support it (ie: not IE)
•  No text selection
•  Original text is made invisible
•  Supports some CSS Styling (more than
   sIFR)
TYPEFACE.JS
•  Similar to Cufón
•  Includes letter-spacing and font-stretch
LICENSING
•  Most licenses aren’t very clear and should
   be clarified with foundry
•  Many fonts don’t allow embedding in this
   fashion
@FONT-FACE
Have we reached utopia?
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
The Type We Want (MIX10)
ADVANTAGES
•    Dynamic
•    Style with the full extent of CSS
•    Can work on mobile platforms
•    Print Quality
TRUETYPE (TTF) & OPENTYPE (OTF)
•  Firefox 3.5+, Safari 3+, Opera 10+
•  Including Opera Mobile
•  In Chrome 4
EMBEDDABLE OPENTYPE (EOT)
•  Support in IE4+
•  TTF2EOT
  –  Command line
  –  Web services exist to make this conversion
•  WEFT
  –  Complete and utter garbage
OTF       TTF      EOT
•  EOT apps require TTF but most fonts
   today are OTF.
•  FontForge will convert OTF to TTF
•  Font names aren’t transferred and must be
   set manually to allow TTF to EOT process
   to work reliably.
 http://snook.ca/archives/html_and_css/screencast-
 converting-ttf2eot
SVG FONTS
•  Chrome 0.3+ support with no need for a
   command line flag
•  Works on iPhone OS3.1+
•  Opera bug doesn’t show embedded font
   on second tab
•  Text selection works but not consistently
CREATING SVG FONTS
•  FontForge
•  Batik
  –  SVG may need to be cleaned up to remove
     extraneous data (empty nodes and
     attributes)
WEB OPEN FONT FORMAT (WOFF)
•  in Firefox 3.6
•  Supported by major font foundries
•  IE9?
CREATING WOFF FILES
•  Command line tool: sfnt2woff
•  Mac or Windows
 http://people.mozilla.com/~jkew/woff/
BULLETPROOF @FONT-FACE
@font-­‐face	
  {	
  
	
  	
  font-­‐family:	
  'MuseoCustom';	
  
	
  	
  src:	
  url('MuseoSans-­‐500.eot');	
  
	
  	
  src:	
  local('Museo	
  Sans	
  500'),	
  	
  
	
  	
  	
  	
  	
  	
  	
  local('MuseoSans-­‐500'),	
  	
  
	
  	
  	
  	
  	
  	
  	
  url('museo.woff')	
  format('woff'),	
  
	
  	
  	
  	
  	
  	
  	
  url('MuseoSans-­‐500.ttf')	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  format('opentype'),	
  
	
  	
  	
  	
  	
  	
  	
  url('museo.svg#museo')	
  format
       ('svg');	
  
}	
  
FONT SQUIRREL
•    one step conversion process
•    Upload TTF or OTF
•    Provides EOT, SVG and WOFF format
•    Creates example HTML and CSS
•    Supports Cufón fallback
•    Does subsetting
PERFORMANCE
SUBSETTING
•  Font files can be megabytes in size
•  Arial Unicode MS is 23MB
•  Many fonts are still 100K+
SUBSETTING
•  Subsetting reduces the number of glyphs
   in the file
•  great for latin languages
•  not so great for asian languages
The Type We Want (MIX10)
SUBSETTING PROBLEMS
•  Be careful removing lower case glyphs if
   using upper case
•  IE and Opera have a bug with text-
   transform: uppercase that will use
   fallback font instead of subsetted font
COMPRESSION
•  EOT and WOFF support compression
•  WEFT compresses by default, TTF2EOT
   doesn’t
•  Use GZIP compression where font isn’t
   already compressed
  –  uncompressed EOT
  –  TTF, OTF, and SVG
FLASH OF UNSTYLED TEXT
•  Firefox, Opera shows unstyled text until
   font downloaded (FOUT!)
•  Blocking in IE if <script> before @font-
   face declaration; otherwise, unstyled
   until font downloaded
FLASH OF UNSTYLED TEXT
•  Safari, Chrome show no text until font
   downloaded
•  Opera 10.10 doesn’t show the
   embedded font after the first page
BIGGEST HURDLE IS STILL LICENSING
LICENSING
•  Most fonts, even some free fonts, DON’T
   allow @font-face embedding
•  Foundries that support WOFF haven’t
   provided updated licenses yet
•  Contact them directly for more info
SOLVING THESE PROBLEMS
FONT EMBEDDING SERVICES
•    TypeKit
•    Typotheque
•    Kernest
•    FontDeck
•    FontSpring
DISADVANTAGES TO SERVICES
•  If the server goes down, does your
   design have a suitable fallback?
•  Some services require JavaScript
•  None of the services serve SVG
•  Services obfuscate to prevent ability to
   install font permanently
•  Not cached
RESOURCES
•  FontForge
  http://fontforge.sourceforge.net/
•  Batik
  http://xmlgraphics.apache.org/batik/tools/font-
  converter.html
•  FontSquirrel Generator
  http://www.fontsquirrel.com/fontface/generator
WHERE TO GET FONTS
•  FontSquirrel
 http://www.fontsquirrel.com/
•  TypeKit
 http://typekit.com/
•  Typotheque
 http://www.typotheque.com/
•  FontSpring
 http://www.fontspring.com/
•  Kernest
 http://www.kernest.com/
QUESTIONS?

More Related Content

PDF
The Type We Want
PDF
The State of Web Type
PDF
Making drupal beautiful with web fonts
KEY
Employing Custom Fonts
KEY
Rich Typography Options For The Web - or - Why sIFR is Dead in 2009
PDF
new fonts for the web
PDF
New Web Typography
PDF
Typography For The Web
The Type We Want
The State of Web Type
Making drupal beautiful with web fonts
Employing Custom Fonts
Rich Typography Options For The Web - or - Why sIFR is Dead in 2009
new fonts for the web
New Web Typography
Typography For The Web

What's hot (15)

PPT
Web Font Replacement
PDF
The type revolutionary's cookbook
PDF
Responsive Web Fonts
PDF
CSS3 3D Workshop
PPTX
Advanced Custom Fields Lightning Talk WordCamp Miami 2018
PDF
[WebVisions 2010] CSS3 Workshop (Afternoon)
PDF
[heweb11] CSS3 Makeover
KEY
Typography online
PDF
Webfonts: Demystified
PDF
Symfony and eZ Publish: boarding now!
PDF
Symfony and eZ Publish
PDF
The Hitchhikers Guide to client Side Persistent Storage
PDF
ExpOn 2011 - Cassiano Travareli - A Base para Link Building
PPTX
Notes, domino and the single sign on soup
PPTX
Web to App:作業系統革命 Firefox OS
Web Font Replacement
The type revolutionary's cookbook
Responsive Web Fonts
CSS3 3D Workshop
Advanced Custom Fields Lightning Talk WordCamp Miami 2018
[WebVisions 2010] CSS3 Workshop (Afternoon)
[heweb11] CSS3 Makeover
Typography online
Webfonts: Demystified
Symfony and eZ Publish: boarding now!
Symfony and eZ Publish
The Hitchhikers Guide to client Side Persistent Storage
ExpOn 2011 - Cassiano Travareli - A Base para Link Building
Notes, domino and the single sign on soup
Web to App:作業系統革命 Firefox OS
Ad

Viewers also liked (11)

PDF
Mobile Web Development
PDF
Working With Ajax Frameworks
PDF
Presentation on Presentations
PDF
Building On The Shoulders
PDF
Mobile Is Eating the World, 2016-2017
PDF
Go-to-Market Best Practices for Startups
PPTX
Software is Eating Bio
PDF
Go to-market strategy for B2B SaaS companies
PPTX
Network Effects
PDF
Mobile Is Eating the World (2016)
Mobile Web Development
Working With Ajax Frameworks
Presentation on Presentations
Building On The Shoulders
Mobile Is Eating the World, 2016-2017
Go-to-Market Best Practices for Startups
Software is Eating Bio
Go to-market strategy for B2B SaaS companies
Network Effects
Mobile Is Eating the World (2016)
Ad

Similar to The Type We Want (MIX10) (20)

KEY
The state of web typography
PDF
The New Web Typography
PDF
The NEW Web Typography: Where the Sexy Is
PDF
Webfonts and Web Typography
PPT
Web font services: March 2011
KEY
Font embedding for the web
KEY
CSS @font-face : Personalized fonts
KEY
Web Fonts: Why Bother?
PDF
Fonts on the Web - a guide to web fonts
PDF
Web fonts
PDF
Just Your Type: Web Typography & You
PDF
Tool twist newsletter 2010
PPTX
Content Management & Web Analytics Theatre; Davin kluttz classy clowny or c...
PDF
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
PDF
To Hell with Web Safe Fonts
KEY
Web typography
KEY
Using @font-face to unleash web typography
PDF
The Trouble With Type
PDF
Extensis Web Typography Workshop | WebVisions Portland
PDF
Web Fonts
The state of web typography
The New Web Typography
The NEW Web Typography: Where the Sexy Is
Webfonts and Web Typography
Web font services: March 2011
Font embedding for the web
CSS @font-face : Personalized fonts
Web Fonts: Why Bother?
Fonts on the Web - a guide to web fonts
Web fonts
Just Your Type: Web Typography & You
Tool twist newsletter 2010
Content Management & Web Analytics Theatre; Davin kluttz classy clowny or c...
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
To Hell with Web Safe Fonts
Web typography
Using @font-face to unleash web typography
The Trouble With Type
Extensis Web Typography Workshop | WebVisions Portland
Web Fonts

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
The Rise and Fall of 3GPP – Time for a Sabbatical?
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Digital-Transformation-Roadmap-for-Companies.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Monthly Chronicles - July 2025
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I

The Type We Want (MIX10)

  • 1. THE TYPE WE WANT Fonts on the Web
  • 9. TYPOGRAPHY HELPS DEFINE… •  Style •  Feel •  Mood •  Readability
  • 10. FONT TAG Ooh, we can make it pretty!
  • 11. FONT TAG <font  face="Arial"  size="3">      I  feel  pretty.  Oh  so  pretty.   </font>  
  • 12. IMAGES Any font but at what price?
  • 13. IMAGES •  Images allows for any font to be used •  Performance •  Only practical for limited items with short text •  Abused by clients •  Printing is less than ideal •  No text selection
  • 14. TEXTORIZE •  Server-based image generation •  Uses Mac OS X rendering engine •  Sub-pixel Anti-aliasing •  Ruby-based •  http://textorize.org/
  • 15. CSS FONT STACKS Flexible design but who gets to see it?
  • 16. CSS FONT STACKS #pretty  {      font-­‐family:  Arial,  Helvetica,   sans-­‐serif;   }   #prettier  {      font-­‐family:  "Gotham  Medium",   sans-­‐serif;   }  
  • 17. OOPS! <p  class="bodytext">I  want  to  look   pretty</p>   <p  class="bodytext">I  want  to  feel   pretty</p>   <p  class="bodytext">I  want  to  be   pretty</p>  
  • 18. COMMON FONT STACKS •  Arial, Helvetica, sans-serif •  Courier New, Courier, monospace •  Times New Roman, Times, serif •  Georgia, Times New Roman, Times, serif •  Verdana, Arial, Helvetica, sans-serif •  Geneva, Arial, Helvetica, sans-serif
  • 19. COMPLEX FONT STACKS "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif
  • 20. COMPLEX FONT STACK •  Better Font Stacks http://unitinteractive.com/blog/2008/06/26/better- css-font-stacks/ •  8 Definitive Web Font Stacks http://articles.sitepoint.com/article/eight-definitive- font-stacks
  • 21. SIFR, CUFÓN, TYPEFACE Now we’re getting somewhere
  • 22. SIFR •  requires JavaScript AND Flash •  Slow for a lot of elements •  Best used for headlines •  Can be difficult to tweak •  Support for CSS features is limited
  • 23. CUFÓN •  Generates SVG font and VML outlines •  Draws to <canvas> in all browsers that support it (ie: not IE) •  No text selection •  Original text is made invisible •  Supports some CSS Styling (more than sIFR)
  • 24. TYPEFACE.JS •  Similar to Cufón •  Includes letter-spacing and font-stretch
  • 25. LICENSING •  Most licenses aren’t very clear and should be clarified with foundry •  Many fonts don’t allow embedding in this fashion
  • 33. ADVANTAGES •  Dynamic •  Style with the full extent of CSS •  Can work on mobile platforms •  Print Quality
  • 34. TRUETYPE (TTF) & OPENTYPE (OTF) •  Firefox 3.5+, Safari 3+, Opera 10+ •  Including Opera Mobile •  In Chrome 4
  • 35. EMBEDDABLE OPENTYPE (EOT) •  Support in IE4+ •  TTF2EOT –  Command line –  Web services exist to make this conversion •  WEFT –  Complete and utter garbage
  • 36. OTF TTF EOT •  EOT apps require TTF but most fonts today are OTF. •  FontForge will convert OTF to TTF •  Font names aren’t transferred and must be set manually to allow TTF to EOT process to work reliably. http://snook.ca/archives/html_and_css/screencast- converting-ttf2eot
  • 37. SVG FONTS •  Chrome 0.3+ support with no need for a command line flag •  Works on iPhone OS3.1+ •  Opera bug doesn’t show embedded font on second tab •  Text selection works but not consistently
  • 38. CREATING SVG FONTS •  FontForge •  Batik –  SVG may need to be cleaned up to remove extraneous data (empty nodes and attributes)
  • 39. WEB OPEN FONT FORMAT (WOFF) •  in Firefox 3.6 •  Supported by major font foundries •  IE9?
  • 40. CREATING WOFF FILES •  Command line tool: sfnt2woff •  Mac or Windows http://people.mozilla.com/~jkew/woff/
  • 41. BULLETPROOF @FONT-FACE @font-­‐face  {      font-­‐family:  'MuseoCustom';      src:  url('MuseoSans-­‐500.eot');      src:  local('Museo  Sans  500'),                  local('MuseoSans-­‐500'),                  url('museo.woff')  format('woff'),                url('MuseoSans-­‐500.ttf')                        format('opentype'),                url('museo.svg#museo')  format ('svg');   }  
  • 42. FONT SQUIRREL •  one step conversion process •  Upload TTF or OTF •  Provides EOT, SVG and WOFF format •  Creates example HTML and CSS •  Supports Cufón fallback •  Does subsetting
  • 44. SUBSETTING •  Font files can be megabytes in size •  Arial Unicode MS is 23MB •  Many fonts are still 100K+
  • 45. SUBSETTING •  Subsetting reduces the number of glyphs in the file •  great for latin languages •  not so great for asian languages
  • 47. SUBSETTING PROBLEMS •  Be careful removing lower case glyphs if using upper case •  IE and Opera have a bug with text- transform: uppercase that will use fallback font instead of subsetted font
  • 48. COMPRESSION •  EOT and WOFF support compression •  WEFT compresses by default, TTF2EOT doesn’t •  Use GZIP compression where font isn’t already compressed –  uncompressed EOT –  TTF, OTF, and SVG
  • 49. FLASH OF UNSTYLED TEXT •  Firefox, Opera shows unstyled text until font downloaded (FOUT!) •  Blocking in IE if <script> before @font- face declaration; otherwise, unstyled until font downloaded
  • 50. FLASH OF UNSTYLED TEXT •  Safari, Chrome show no text until font downloaded •  Opera 10.10 doesn’t show the embedded font after the first page
  • 51. BIGGEST HURDLE IS STILL LICENSING
  • 52. LICENSING •  Most fonts, even some free fonts, DON’T allow @font-face embedding •  Foundries that support WOFF haven’t provided updated licenses yet •  Contact them directly for more info
  • 54. FONT EMBEDDING SERVICES •  TypeKit •  Typotheque •  Kernest •  FontDeck •  FontSpring
  • 55. DISADVANTAGES TO SERVICES •  If the server goes down, does your design have a suitable fallback? •  Some services require JavaScript •  None of the services serve SVG •  Services obfuscate to prevent ability to install font permanently •  Not cached
  • 56. RESOURCES •  FontForge http://fontforge.sourceforge.net/ •  Batik http://xmlgraphics.apache.org/batik/tools/font- converter.html •  FontSquirrel Generator http://www.fontsquirrel.com/fontface/generator
  • 57. WHERE TO GET FONTS •  FontSquirrel http://www.fontsquirrel.com/ •  TypeKit http://typekit.com/ •  Typotheque http://www.typotheque.com/ •  FontSpring http://www.fontspring.com/ •  Kernest http://www.kernest.com/