1. HINTS &
SCALES
The Science & Art of
Designing With Web Type
Sunday, January 27, 13
2. I N T RO D U C T I O N S
Ira F. Cummings
Brand Strategist and Designer
email: ira@iracummings.com
url: iracummings.com
twitter: @irafcummings
Sunday, January 27, 13
5. THE BASIC OUTLINE
The Importance of Web Type
Type Fundamentals
Sunday, January 27, 13
6. THE BASIC OUTLINE
The Importance of Web Type
Type Fundamentals
Technical Implementation
Sunday, January 27, 13
7. THE BASIC OUTLINE
The Importance of Web Type
Type Fundamentals
Technical Implementation
Problems and Solutions
Sunday, January 27, 13
8. THE BASIC OUTLINE
The Importance of Web Type
Type Fundamentals
Technical Implementation
Problems and Solutions
The Future of Web Type
Sunday, January 27, 13
9. THE BASIC OUTLINE
The Importance of Web Type
Type Fundamentals
Technical Implementation
Problems and Solutions
The Future of Web Type
Resources
Sunday, January 27, 13
10. Our Definition of Web Type
Non-system fonts,
hosted remotely, that are
displayed on a screen.
Sunday, January 27, 13
18. C H A R A C T E R A N AT O M Y
The parts of a character
define its personality.
Understanding the personality helps us choose
readable typefaces and set them beautifully.
Sunday, January 27, 13
21. P A R A G R A P H A N AT O M Y: M E A S U R E
Measure
Very simply, it is the length of a line of text.
The general guideline is 40–65 characters, give or take
and depending on the typeface.
Sunday, January 27, 13
28. M A K I N G T Y P E B E AU T I F U L
There are three main components
of beautiful typography:
Sunday, January 27, 13
29. M A K I N G T Y P E B E AU T I F U L
There are three main components
of beautiful typography:
Contrast
Sunday, January 27, 13
30. M A K I N G T Y P E B E AU T I F U L
There are three main components
of beautiful typography:
Contrast
Rhythm
Sunday, January 27, 13
31. M A K I N G T Y P E B E AU T I F U L
There are three main components
of beautiful typography:
Contrast
Rhythm
Spacing
Sunday, January 27, 13
32. M A K I N G T Y P E B E AU T I F U L : C O N T R A S T
Chose typefaces that are different from
each other, but work well together.
Make sure that different content (eg. headers,
sub-heads, body copy) are visually differentiated.
Sunday, January 27, 13
34. M A K I N G T Y P E B E AU T I F U L : R H Y T H M
Our eyes recognize—and look for—
visual patterns in content.
One way to achieve this rhythm is with a baseline grid
that uses a shared baseline measurement across the
units of content.
Sunday, January 27, 13
38. M A K I N G T Y P E B E AU T I F U L : R H Y T H M
Modular scale
Another way to create rhythm is with a scale that
relates to your content or context.
Sunday, January 27, 13
39. M A K I N G T Y P E B E AU T I F U L : R H Y T H M
Modular scale: an example 406.4
247 .1
251.1
Number 1: 14px (base type size) 169.4
104.7
Number 2: 40px (touch target size) 95.9
64.7
Ratio: 1:1.618 (golden section) 59.3
40.0
Multiply the numbers by the ratio to 36.6
24.7
derive a variety of number to use. 22.6
15.2
14.0
9.4
8.6
Sunday, January 27, 13
40. 406.4
247 .1
251.1
169.4
104.7
95.9
64.7
59.3
40.0
36.6
24.7
22.6
15.2
14.0
9.4
8.6
Type with modular scale
Sunday, January 27, 13
41. M A K I N G T Y P E B E AU T I F U L : R H Y T H M
It’s easy to build your own scale:
Use modularscale.com to do the math.
Sunday, January 27, 13
42. M A K I N G T Y P E B E AU T I F U L : S P A C I N G
The (negative) space around type is
just as important as the content.
Look for ways to creatively focus the readers
eyes on the content.
Sunday, January 27, 13
44. Technical
Implementation
Sunday, January 27, 13
45. Implementation
THIRD-PARTY SERVICES
SELF-HOSTED FONT FILES
Sunday, January 27, 13
46. I M P L E M E N TAT I O N : 3 R D - P A RT Y S E RV I C E S
3rd-party services provide a license for
the type, as well as plug-and-play code.
Services allow access to a large type library for a
reoccurring fee, usually based on a bandwidth or
page-view metric.
Sunday, January 27, 13
47. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E
Serving font files from your own server
via the @font-face CSS attribute.
Purchase a license and host font files on your
own server.
Easy to implement with CSS alone.
Sunday, January 27, 13
48. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E
In your stylesheet:
@font-face {
! font-family: ‘Univers Regular’; /* Typeface name */
! src: url('Univers_Reg.eot?') format('embedded-opentype'), !
! ! /* IE, ? prevents a 404 on .woff/.ttf tiles */
! url('Univers_Reg.otf') format('opentype'), /* Moz/Webkit */
! url('Univers_Reg.svg') format('svg'); /* iOS < 4.0 */
}
Then:
p {
! font-family: ‘Univers Regular’, ‘Helvetica’, sans-serif;
! font-weight: 400; /* avoids browser issues */
}
Sunday, January 27, 13
50. B ROW S E R S U P P O RT
It’s pretty good actually (phew)
If you serve the right font file, @font-face is
supported by all modern browsers.
The main exception is Opera Mini.
Sunday, January 27, 13
51. I M P L E M E N TAT I O N : U S I N G @ F O N T- F A C E
A note about formats:
EOT (Embedded Open Type) works for IE and
only for IE.
OTF (Open-Type Font) is your best cross-browser
option, with…
TTF (True Type Font) and…
WOFF (Web Open Font Format) coming in second.
SVG fonts are a legacy for format for old version
of iOS Safari, the Android browser & Chrome.
Sunday, January 27, 13
52. Anticipating
Problems
& Finding Solutions
Sunday, January 27, 13
53. Technical Issues
DOWNLOAD SIZES
SERVER REQUESTS
TYPE UNITS
Sunday, January 27, 13
54. T E C H N I C A L I S S U E S : D OW N L O A D S I Z E S&
Keeping download file size small will
improve the experience all around.
Minimize the size and number of different font files
that a user has to download.
Sunday, January 27, 13
55. TECHNICAL ISSUES: HTTP REQUESTS
With each server request there is the
potential for more issues.
Sunday, January 27, 13
56. TECHNICAL ISSUES: TYPE UNITS
With CSS, there are a variety of ways
to define the size of type (and leading,
spacing, layout…).
Ems are still the best bet, but the math can get
tricky since the context is important.
Sunday, January 27, 13
57. Aesthetic Issues
RESPONSIVE DESIGN
SCREEN RENDERING
FREE FONTS
FONT STACKS
READABILITY
Sunday, January 27, 13
58. AESTHETIC ISSUES: RESPONSIVE DESIGN
As the layout changes with context, your
type needs to change as well.
When content width changes, the measure, leading
and spacing should remain comfortable.
Sunday, January 27, 13
59. AESTHETIC ISSUES: TYPE RENDERING ON SCREEN
Type rendering can vary widely.
Results will be different based on platform,
operating system, browser, typeface and even
the version of the typeface.
Sunday, January 27, 13
63. A E S T H E T I C I S S U E S : F O N T S TA C K S
Even though you’re serving font files, you
still need to consider your font stacks.
Sunday, January 27, 13
64. A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K
There is really one thing that you can do
to ensure excellent typography:
Sunday, January 27, 13
65. A E S T H E T I C I S S U E S : M A K I N G I T A L L WO R K
There is really one thing that you can do
to ensure excellent typography:
Test
Sunday, January 27, 13
66. The Future of
Type on the Web
Sunday, January 27, 13
67. Symbol
& Icon Fonts
RESOLUTION-INDEPENDENT GRAPHICS FTW
Sunday, January 27, 13
68. SYMBOL & ICON FONTS
Save bandwidth and gain
resolution independence.
Currently, the best usage is as icons to complement
text or as fancy glyphs that have good fallbacks.
Sunday, January 27, 13
70. Ligatures
TWO USES FOR JOINING CHARACTERS
Sunday, January 27, 13
71. L I G AT U R E S
Ligature support is on the horizon, but
relies on support from both browser
makers and type foundries, not to mention
the operating system.
Currently in the CSS3 draft as an option of the
font-features-setting property.
Sunday, January 27, 13
73. T H E L I T T L E S T U F F : L I G AT U R E S
Beyond more pleasing character
combinations, ligatures could allow
creative use of type.
Sunday, January 27, 13
84. CREDITS
This presentation set in Univers and
Hoefler Text, designed by Adrian Frutiger
and Jonathan Hoefler, respectively.
Demonstration copy is taken from
en.wikipedia.org/wiki/Typography.
All photographic images pulled from The
Commons on flickr.com.
All images of websites are captured from
their respective domains.
Other content and images created by
Ira F. Cummings.
This presentation created on a Mac
with Keynote.
Sunday, January 27, 13