Using system fonts means no added “ download time, no extra data used, and a look designed to blend it with the device you’re using.”
April 2018
Slide 30
Slide 31
“
Slide 32
TYPE IS HOW WE DRESS OUR CONTENT
Slide 33
font-family: Helvetica
Slide 34
font-family: Arial
Slide 35
font-family: Papyrus
Slide 36
I LOVE TYPE
Slide 37
I LOVE TYPE
Slide 38
LOVE TYP
Slide 39
g
Slide 40
g
Slide 41
Slide 42
Slide 43
ag DOUBLE-STORY
SINGLE-STORY
Slide 44
a DOUBLE-STORY
g SINGLE-STORY
Slide 45
PERFORMANCE
BUDGETS
Slide 46
LESS IS MORE
Slide 47
TRADE BYTES FOR FEATURES
Slide 48
Chrome Developer Tools
WEB FONT SEARCH
Slide 49
@font-face Found 19 matching lines in 5 files.
Slide 50
Slide 51
TABASCO SAUCE
Slide 52
! 2000 Scoville Heat Units 2 Kiloscovilles 1,95 Kibiscovilles
Slide 53
3
№
YOUR WEB-FONT FALLBACK STACK IS
TOO COMPLEX
Slide 54
font-family: Helvetica, Arial, sans-serif;
Helvetica
Arial
system default
Slide 55
font-family: sans-serif;
system default =
Helvetica Arial
Slide 56
erif;
fault =
Helvetica Arial
Roboto
Liberation Sans
Slide 57
http://fontfamily.io/
Slide 58
font-family: Times, Times New Roman, serif
Times
Times New Roman
system default
Slide 59
font-family: serif
system default =
Times
Times New Roman
Slide 60
ult =
Times
Times New Roman
Noto Serif
Liberation Serif
Slide 61
MINIFIERS THAT DON’T DO THIS
CSSO …
…
Slide 62
THE
JALAPEÑO
Slide 63
! 5750 Scoville Heat Units 5,75 Kiloscovilles 5,61 Kibiscovilles
Slide 64
4
№
BULLETPROOF FONT FACE
IS DEAD
$
Slide 65
ont
FACE
Slide 66
D
E AG UR
CO
DIS @font-face { font-family: Open Sans; src: url(‘opensans.eot’); src: url(‘opensans.eot?#iefix’) format(‘embedded-opentype’), url(‘opensans.woff’) format(‘woff’), url(‘opensans.ttf’) format(‘truetype’), url(‘opensans.svg#svgFontName’) format(‘svg’); }
Slide 67
OD
GO @font-face { font-family: Open Sans; src: url(‘opensans.woff2’) format(‘woff2’), url(‘opensans.woff’) format(‘woff’); }
Slide 68
G
NIN
R WA @font-face { font-family: Open Sans; src: local(‘Open Sans Regular’), local(‘OpenSans-Regular’), url(‘opensans.woff2’) format(‘woff2’), url(‘opensans.woff’) format(‘woff’); }
Slide 69
Slide 70
Slide 71
“ Never mix locally installed fonts and web fonts in @font-face rules. Assuming two fonts are identical because they share a name is a recipe for disaster.” https://bramstein.com/writing/web-font-anti-patterns-local-fonts.html
Slide 72
oogle
Slide 73
Foogle Gonts
Slide 74
Firefox Developer Tools
FONTS TAB
Slide 75
Slide 76
Slide 77
Slide 78
4½
№
FONTS ARE SOFTWARE
THEY NEED MAINTENANCE & UPDATES TOO
Slide 79
THE
CHIPOTLE
Slide 80
! 6500 Scoville Heat Units 6,5 Kiloscovilles 6,34 Kibiscovilles
Slide 81
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT
Slide 82
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT
Slide 83
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT
Slide 84
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT
Slide 85
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT
Slide 86
5
№
VISIBLE TEXT IS MORE READABLE
THAN INVISIBLE TEXT