to hell with web safe fonts

24
WEB SAFE FONTS To hell with Lennart Schoors

Upload: lennart-schoors

Post on 18-Jan-2015

22.753 views

Category:

Technology


2 download

DESCRIPTION

Outlining some issues with the current approaches for fonts on the internet, and discussing some alternatives: more creative font stacks and font embedding. Presented at Barcamp Antwerp March 21 2009. More at http://lensco.be

TRANSCRIPT

Page 1: To Hell with Web Safe Fonts

WEB SAFE FONTS

To hell with

Lennart Schoors

Page 2: To Hell with Web Safe Fonts

Me

.web designer at Netloghttp://www.netlog.com

. blog at http://lensco.be

Page 3: To Hell with Web Safe Fonts

Web Safe Fonts

Fonts on the internet today

Page 4: To Hell with Web Safe Fonts

You can do cool things with Times New Roman

Page 5: To Hell with Web Safe Fonts

.Verdana

.Arial (Helvetica if you’re lucky)

.Lucida Grande

.Georgia

. limited, sometimes boring font stacks

But still ...

Page 6: To Hell with Web Safe Fonts

Alternatives

. image replacement, sIFR, Cufon, ...

.accessibility

.maintenance

.often hard to get it just right

. flash of content

.dependency (Javascript, Flash)

.more pain in the ass than they should be

Page 7: To Hell with Web Safe Fonts

Solutions?

Option one: spice up your font stacks

Page 8: To Hell with Web Safe Fonts

font-family: Plantin, "Plantin std", "Plantin", "Baskerville", Georgia, "Times New Roman", serif;

Page 9: To Hell with Web Safe Fonts

Go wild!

.Vista/Office fonts

.Calibri, Candara, Corbel, Cambria, ...

.Centhury Gothic, Rockwell,Garamond, Gill Sans, ...

. (OS X) system fonts

.American Typewriter, Futura, Optima, Palatino, Helvetica Neue (weights!), ...

Page 10: To Hell with Web Safe Fonts

. type foundry fonts

.Frutiger, Meta, Archer, Gotham, DIN, ...

.watch your fallbacks (weight, width)

.The Quick Brown Fox

.The Quick Brown Fox

.The Quick Brown Fox

Page 11: To Hell with Web Safe Fonts

check the font matrix: icanhaz.com/fontmatrix

Page 12: To Hell with Web Safe Fonts

Solutions?

Option two: font-embedding

Page 13: To Hell with Web Safe Fonts

@font-face

.part of CSS2

. simple

@font-face { font-family: "Fontin Sans"; src: url(FontinSans.otf); }

h1 { font-family: "Fontin Sans", serif; }

Page 14: To Hell with Web Safe Fonts

Support

.Safari 3.1

.Firefox 3.5

.Opera 10

. IE4

Page 15: To Hell with Web Safe Fonts

Since IE4!? What’s the catch?

.Embedded Open Type (EOT)

.encoded & limited

.WEFT (Web Embedding Fonts Tool)

Page 16: To Hell with Web Safe Fonts

WEFT 3.2 (°2003) – cumbersome and annoying

Page 17: To Hell with Web Safe Fonts

<!--[if IE]> <style> @font-face { font-family: "Fontin Sans"; src: url(FontinSans.eot); } </style><![endif]-->

IE chokes on prescribed procedure, so:

IE implementation

Page 18: To Hell with Web Safe Fonts

.EOT = new standard?

. fear of ‘DRM’

.Access Control Headers

.Foundries are hesitant

.Similar to music and movie industries

.Why not experiment with hosted, licensed fonts?

The piracy issue

Page 19: To Hell with Web Safe Fonts

Until then

.www.webfonts.info

.www.theleagueofmoveabletype.com

.Popular free fonts for embedding:

.Graublau Sans Web, Fertigo, Fontin, Fontin Sans, Kaffeesatz, Museo, ...

Page 20: To Hell with Web Safe Fonts

Summary:

Get creative

Page 21: To Hell with Web Safe Fonts

Get creative!

.Expand your font choice

.Mix fonts (like em, strong, links, quotes, ...)

.Use weights, font-styles, small caps,(font-stretch), ...

.Mind variations in size and legibility

.Test all fonts in your stack on all platforms

Page 22: To Hell with Web Safe Fonts

Rockwell, Helvetica Neue, Optima and Andale Mono on www.lensco.be

Page 23: To Hell with Web Safe Fonts

We got rid of the “web safe” colors, now let’s get rid of “web safe” fonts!