SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
www.generalassemb.ly


THE ABCS OF


WEB TYPOGRAPHY
                with Chris Castiglione
                           Twitter: @castig
Typography has one plain duty before it and
that is to convey information in writing.
                               -Emil Ruder
1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS
1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS
1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS
THE ABCS OF WEB TYPOGRAPHY


1. ANATOMY
Typeface vs. font?
a typeface is the          a font is the
design of the letterform   delivery mechanism
n n
THE ABCS OF WEB TYPOGRAPHY: TYPEFACE




              serif                    sans-serif
X-HEIGHT




           x x x
           garmond   times new roman   georgia
WEB-SAFE FONTS


  Helvetica         Georgia
  Times New Roman   Verdana
  Comic Sans        Courier
GENERIC FONT FAMILIES


serif: The quick brown fox jumps over the lazy

sans-serif: The quick brown fox jumps over the lazy

cursive: The quick brown fox jumps over the lazy

monospace: The quick brown fox jumps over the lazy dog.
THE ABCS OF WEB TYPOGRAPHY


2. @FONTFACE
FUTURA
EXPORT IMAGES. DESKTOP LICENSING. GOOD TIMES.
heading-futura.jpg
FONT FORMATS

TTF - Works in most browsers except IE and iPhone.

EOT - Internet Explorer only

WOFF - Compressed, emerging standard
(essentially OpenType or TrueType with compression
and additional metadata).

SVG - iPhones /iPads (ie. iOS Webkit)
STOP
Stop
THE ABCS OF WEB TYPOGRAPHY


3. EMS VS. PIXELS
THE ABCS OF WEB TYPOGRAPHY


target ÷ context = result

24px ÷ 16px = 1.5em

10px ÷ 16px = 0.625em
USING EMS

PROS
• flexible
• resizable
• users can set control text size

CONS
• Math: more of it
• More complicated to keep track of than pixels

Más contenido relacionado

Más de Chris Castiglione

Programming For Non-Programmers (AMEX Remix Edition)
Programming For Non-Programmers (AMEX Remix Edition) Programming For Non-Programmers (AMEX Remix Edition)
Programming For Non-Programmers (AMEX Remix Edition)
Chris Castiglione
 

Más de Chris Castiglione (9)

Programming For Non-Programmers (AMEX Remix Edition)
Programming For Non-Programmers (AMEX Remix Edition) Programming For Non-Programmers (AMEX Remix Edition)
Programming For Non-Programmers (AMEX Remix Edition)
 
Optimizely
OptimizelyOptimizely
Optimizely
 
Programming For Non-Programmers @SXSW 2013
Programming For Non-Programmers @SXSW 2013Programming For Non-Programmers @SXSW 2013
Programming For Non-Programmers @SXSW 2013
 
APIs
APIsAPIs
APIs
 
Programming For Non-Programmers: 2013
Programming For Non-Programmers: 2013Programming For Non-Programmers: 2013
Programming For Non-Programmers: 2013
 
Wordpress
WordpressWordpress
Wordpress
 
Up & Running Web Hosting
Up & Running Web HostingUp & Running Web Hosting
Up & Running Web Hosting
 
PHP vs. Ruby on Rails
PHP vs. Ruby on RailsPHP vs. Ruby on Rails
PHP vs. Ruby on Rails
 
Ids classes-floats
Ids classes-floatsIds classes-floats
Ids classes-floats
 

Último

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
 
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
 

Último (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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​
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
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
 
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...
 

The ABCs of Web Typography

  • 1. www.generalassemb.ly THE ABCS OF WEB TYPOGRAPHY with Chris Castiglione Twitter: @castig
  • 2. Typography has one plain duty before it and that is to convey information in writing. -Emil Ruder
  • 3. 1. The Anatomy of Web Typography 2. @FontFace 3. Responsive Design: Pixels vs. EMS
  • 4. 1. The Anatomy of Web Typography 2. @FontFace 3. Responsive Design: Pixels vs. EMS
  • 5. 1. The Anatomy of Web Typography 2. @FontFace 3. Responsive Design: Pixels vs. EMS
  • 6. THE ABCS OF WEB TYPOGRAPHY 1. ANATOMY
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Typeface vs. font? a typeface is the a font is the design of the letterform delivery mechanism
  • 12. n n THE ABCS OF WEB TYPOGRAPHY: TYPEFACE serif sans-serif
  • 13.
  • 14.
  • 15. X-HEIGHT x x x garmond times new roman georgia
  • 16. WEB-SAFE FONTS Helvetica Georgia Times New Roman Verdana Comic Sans Courier
  • 17. GENERIC FONT FAMILIES serif: The quick brown fox jumps over the lazy sans-serif: The quick brown fox jumps over the lazy cursive: The quick brown fox jumps over the lazy monospace: The quick brown fox jumps over the lazy dog.
  • 18. THE ABCS OF WEB TYPOGRAPHY 2. @FONTFACE
  • 19.
  • 20.
  • 21. FUTURA EXPORT IMAGES. DESKTOP LICENSING. GOOD TIMES.
  • 23. FONT FORMATS TTF - Works in most browsers except IE and iPhone. EOT - Internet Explorer only WOFF - Compressed, emerging standard (essentially OpenType or TrueType with compression and additional metadata). SVG - iPhones /iPads (ie. iOS Webkit)
  • 24. STOP
  • 25. Stop
  • 26.
  • 27. THE ABCS OF WEB TYPOGRAPHY 3. EMS VS. PIXELS
  • 28.
  • 29.
  • 30.
  • 31. THE ABCS OF WEB TYPOGRAPHY target ÷ context = result 24px ÷ 16px = 1.5em 10px ÷ 16px = 0.625em
  • 32. USING EMS PROS • flexible • resizable • users can set control text size CONS • Math: more of it • More complicated to keep track of than pixels