Top Banner
Jason Pamental | @jpamental http://hwdesignco.com DrupalCon Austin | #DrupalCon 23rd May, 2014 Type, Responsively Design for Readability & Meaning on Any Screen
56

Type, Responsively: Design for Readability & Meaning on Any Screen

Jan 27, 2015

Download

Design

Jason Pamental

Slides from my talk on Responsive Typography at DrupalCon Austin.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Type, Responsively: Design for Readability & Meaning on Any Screen

Jason Pamental | @jpamental http://hwdesignco.com

DrupalCon Austin | #DrupalCon23rd May, 2014

Type, ResponsivelyDesign for Readability & Meaning on Any Screen

Page 2: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Who Am I?

+ Co-founder of

+ Co-founder of

+ Co-host of

+ Co-parent of

Page 3: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

How Did I Get Here?

+ + =

Page 4: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

What We’ll Cover

+ Lies & deceptions+ An honest reconciliation+ What is Responsive Typography+ Making your typography responsive+ Prototypes trump promises

Page 5: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

When is our industry going stop calling it “web” typography?

@sblakeborough, via twitter

Page 6: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Not sure we can.

+ Encompasses all of what you know about type & its use, but+ Typography on the web requires additional consideration

(art & science)+ Our canvas is fluid; constantly expanding & contracting+ Reading on screens will only increase

Page 7: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

It’s not what we don’t know that’ll kill us

It’s what we willfully ignore

Page 8: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

A Long Road to a Make-Believe Place

+We prop up our vision of the world with tricks & misconceptions

960px

Page 9: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

A Long Road to a Make-Believe Place

+We prop up our vision of the world with tricks & misconceptions

Page 10: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

A Long Road to a Make-Believe Place

+We prop up our vision of the world with tricks & misconceptions

“A page is not a valuable concept even for someone who wants to read a book.”

Jeff Eaton (@eaton)

Page 11: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Take Away What We Can’t Know

+ Screen size+ Device capabilities+ Concurrent activities+ Depth of focus+ Purpose of visit

Page 12: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Focus on What’s Left: Typography

Page 13: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Focus on What’s Left: Typography

Page 14: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Focus on What’s Left: Typography

Page 15: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Focus on What’s Left: Typography

Page 16: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Four Simple Steps

+ Performance: select fonts with care, load what you need & don’t block the page draw

+ Progressive: plan for failure, tune up the loading process & fallback fonts to minimize FOUT

+ Proportion: small screens demand subtle scale+ Polish: Design IS the details: OpenType & then some

Page 17: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Performance Matters

+ Great typography isn’t ‘I used all of them’+ Load only what you need

Trade Gothic Next LT Pro Bold

this is a typeface this is a font

+ Each font has a performance cost, so budget wisely

Page 18: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Performance Matters

Page 19: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Performance Matters

Page 20: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

FOUT is OUR fault

Page 21: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

FOUT is OUR fault

Page 22: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

FOUT is OUR fault

+ Use these: .wf-inactive / .wf-active+ This CSS results in a blank screen during load:

+ Add this & give them content, then fonts:

+ Adjust font-size, line-height, letter-spacing to avoid jumpiness + Making it easy since 2010

body { font-family: “Trade Gothic”, helvetica, arial; }

.wf-inactive body { font-family: helvetica, arial; }

Page 23: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Progressively Enhance

Web fonts loaded

Page 24: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Progressively Enhance

No web fonts, uncorrected

Page 25: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Progressively Enhance

No web fonts, corrected

Page 26: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Progressively Enhance

Web fonts loaded

Page 27: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Proportion: one size won’t do

http://bit.ly/jprwt

Page 28: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Desktop geese & handheld gander

+ Small canvas requires subtle proportions

+ What works in print… works in print

+ Robert Bringhurst matters, but scale must adapt

http://bit.ly/jprwt

Page 29: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

For example…

http://bit.ly/jprwt

Page 30: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

For example…

http://bit.ly/jprwt

Page 31: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

A More Modern Scale

http://bit.ly/jprwt

Page 32: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Measure & Scale

http://bit.ly/jprwt

Page 33: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Measure & Scale

http://bit.ly/jprwt

Page 34: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Measure & Scale

http://bit.ly/jprwt

Page 35: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Measure & Scale

+ Use max-width on elements to keep text readable @media (min-width: 58em) { p { max-width: 38em; } }

+ CSS3 brings character counts, but not universal (ch & cx)+ EMs or REMs, but no PX+ Don’t forget: use real content!

Because Lorem Ipsum is a poser

Page 36: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Polish: Don’t Forget Fit & Finish

Page 37: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Polish: Don’t Forget Fit & Finish

Page 38: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

OpenType Demo

Page 39: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

OpenType Demo

Page 40: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

OpenType Demo

Page 41: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

OpenType Demo

Page 42: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Polish: Don’t Forget Fit & Finish

Page 43: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Polish: Don’t Leave Orphans Behind

Typogrify Module FTW: http://drupal.org/project/typogrify

Page 44: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Polish: Don’t Leave Orphans Behind

Typogrify Module FTW: http://drupal.org/project/typogrify

Page 45: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

Page 46: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

+ Yes, it’s a thing

Page 47: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

+ Yes, it’s a thing+ It’s about adapting to screen size, network speed & device

capabilities

Page 48: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

+ Yes, it’s a thing+ It’s about adapting to screen size, network speed & device

capabilities+ It’s about designing for what’s next

Page 49: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

+ Yes, it’s a thing+ It’s about adapting to screen size, network speed & device

capabilities+ It’s about designing for what’s next

• Last Winter Olympics: there was no iPad

• The one before? No iPhone either

Page 50: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Responsive Web Typography

+ Performance • Stats, Platforms & Screen Tests

+ Progression (It’s the web. Stuff breaks) • If the font fails, does your design hold up?

+ Proportion • It’s about composition (think: small paintings)

+ Polish

Page 51: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

How Do I Do It in Drupal?

+ Type is tied to design+ Belongs in the Theme+ Needs layered approach+ @font-your-face may or may not do enough

Page 52: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Do It In Drupal: A Layered Approach

Page 53: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Prototype, Don’t Promise

Page 54: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

“Designers Should Code As Much As Artists Should Mix Paint”

~ Mustafa Kurtuldu (@Mustafa_x) FOWD London

Page 55: Type, Responsively: Design for Readability & Meaning on Any Screen

hwdesignco.com | @jpamental | DrupalCon Austin | #DrupalCon

Just out!

http://bit.ly/rwtbook

Page 56: Type, Responsively: Design for Readability & Meaning on Any Screen

Jason Pamental | @jpamental http://hwdesignco.com

Thank YouJason Pamental (@jpamental)

!Slides here: http://bit.ly/jpdcrwtslides

!Please review the session! http://bit.ly/jpdcrwt