The ABCs of Web Typography

32
with Chris Castiglione Twitter: @castig WEB TYPOGRAPHY THE ABCS OF www.generalassemb.ly

description

My class @ General Assembly: The ABCs of Web Typography. Here we look at: 1) Best-practices & common mistakes: relative line-height, fallbacks, and more. 2) @Font-face 3) Responsive Design: Pixels vs. Ems More info on classes can be found at: www.generalassemb.ly My portfolio is at: www.ccastig.com

Transcript of The ABCs of Web Typography

Page 1: The ABCs of Web Typography

with Chris Castiglione Twitter: @castig

WEB TYPOGRAPHYTHE ABCS OF

www.generalassemb.ly

Page 2: The ABCs of Web Typography

Typography has one plain duty before it and that is to convey information in writing.

-Emil Ruder

Page 3: The ABCs of Web Typography

1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS

Page 4: The ABCs of Web Typography

1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS

Page 5: The ABCs of Web Typography

1. The Anatomy of Web Typography

2. @FontFace

3. Responsive Design: Pixels vs. EMS

Page 6: The ABCs of Web Typography

THE ABCS OF WEB TYPOGRAPHY

1. ANATOMY

Page 7: The ABCs of Web Typography
Page 8: The ABCs of Web Typography
Page 9: The ABCs of Web Typography
Page 10: The ABCs of Web Typography
Page 11: The ABCs of Web Typography

Typeface vs. font?a typeface is the design of the letterform

a font is the delivery mechanism

Page 12: The ABCs of Web Typography

n n THE ABCS OF WEB TYPOGRAPHY: TYPEFACE

serif sans-serif

Page 13: The ABCs of Web Typography
Page 14: The ABCs of Web Typography
Page 15: The ABCs of Web Typography

X-HEIGHT

x x x garmond times new roman georgia

Page 16: The ABCs of Web Typography

WEB-SAFE FONTS

Times New Roman

Comic Sans

HelveticaVerdana Georgia

Courier

Page 17: The ABCs of Web Typography

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.

Page 18: The ABCs of Web Typography

THE ABCS OF WEB TYPOGRAPHY

2. @FONTFACE

Page 19: The ABCs of Web Typography
Page 20: The ABCs of Web Typography
Page 21: The ABCs of Web Typography

FUTURAEXPORT IMAGES. DESKTOP LICENSING. GOOD TIMES.

Page 22: The ABCs of Web Typography

heading-futura.jpg

Page 23: The ABCs of Web Typography

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)

Page 24: The ABCs of Web Typography

STOP

Page 25: The ABCs of Web Typography

Stop

Page 26: The ABCs of Web Typography
Page 27: The ABCs of Web Typography

THE ABCS OF WEB TYPOGRAPHY

3. EMS VS. PIXELS

Page 28: The ABCs of Web Typography
Page 29: The ABCs of Web Typography
Page 30: The ABCs of Web Typography
Page 31: The ABCs of Web Typography

THE ABCS OF WEB TYPOGRAPHY

target ÷ context = result

10px ÷ 16px = 0.625em

24px ÷ 16px = 1.5em

Page 32: The ABCs of Web Typography

USING EMS

PROS• flexible

• resizable

• users can set control text size

CONS• Math: more of it

• More complicated to keep track of than pixels