+ All Categories

Download - Wbfntdy 2012

Transcript
Page 1: Wbfntdy 2012

(Bild)Zeichen erobern die Webtypografie ...

Ein Überblick

Markus Greve Zum Webfontday 2012 »Type goes Interface«

Typographische Gesellschaft München

Page 2: Wbfntdy 2012

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 3: Wbfntdy 2012

WARUM?Oder: warum gerade jetzt?

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 4: Wbfntdy 2012

DISPLAY-ENTWICKLUNG

2012

Page 5: Wbfntdy 2012

DISPLAY-ENTWICKLUNG

2012November – Google Nexus 10 Tablet (2.560x1.600, 300 ppi)

Juni – MacBook Pro Retina (2.880x1.800, 220 ppi)

März – iPad 3 (2.048x1.536, 260 ppi)

Page 6: Wbfntdy 2012

DISPLAY-ENTWICKLUNG

2012November – Google Nexus 10 Tablet (2.560x1.600, 300 ppi)

Juni – MacBook Pro Retina (2.880x1.800, 220 ppi)

März – iPad 3 (2.048x1.536, 260 ppi)

2010 – iPhone 4 (960x640, 326 ppi)

2007 – Original iPhone (163 ppi)

PC-Ära – »Mythos 72 ppi« (96 ppi)

Page 7: Wbfntdy 2012
Page 8: Wbfntdy 2012
Page 9: Wbfntdy 2012
Page 10: Wbfntdy 2012

Was kommt als nächstes?

Page 11: Wbfntdy 2012

4K3.280 x 2.160

Page 12: Wbfntdy 2012

BITMAPSvs

VEKTOREN

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 13: Wbfntdy 2012

BITMAPS

GIF JPEG PNG

Page 14: Wbfntdy 2012

BITMAPS | App Entwicklung

Android iOS

Page 15: Wbfntdy 2012

BITMAPS | Populäre Websites

Groupon

Google

Amazon

Page 16: Wbfntdy 2012

VEKTOREN | Form

ProprietäreVektorformate

Scaleable Vector Graphics

Webfonts

Webfont

TSVGfSWF

Page 17: Wbfntdy 2012

VEKTOREN | Form

Webfont

TSVGfSWF

Keine PlugIns erforderlich

Plattform-übergreifend verfügbar

Zusammenfassung verschiedener Formen in einer Datei

+

Page 18: Wbfntdy 2012

VEKTOREN | Erscheinungsbild

Page 19: Wbfntdy 2012

VEKTOREN | Erscheinungsbild

+ CSS3

Page 20: Wbfntdy 2012

VEKTOREN | CSS3 – Abgerundete Formen

.basics {

! display: inline-block;

! position: relative;

! padding: 60px; padding-bottom: 20px;

! margin: 50px;

! color: black;

! border: 20px solid black;

! border-radius: 60px;

}

CSS3 Patterns: Checkerboard von Lea Verou (http://lea.verou.me/css3patterns)

Page 21: Wbfntdy 2012

VEKTOREN | CSS3 – Hintergrund

.basics { ... }

.background {!

! border: none;

! margin: 70px;

! color: white;

! background-image:

! ! -webkit-gradient(

! ! ! radial,

! ! ! center bottom, 0,

! ! ! center bottom, 350,

! ! ! from(#fdac39),

! ! ! to(#da732c)

! ! );

}

Page 22: Wbfntdy 2012

VEKTOREN | CSS3 – Text-Effekte

.basics { ... }

.background { ... }!

.foreground {!

! color: #eee;

! text-shadow:

! ! 0px -6px 1px #666,

! ! 0px 6px 1px #fff;

}

Page 23: Wbfntdy 2012

VEKTOREN | CSS3 – Zuckerguss

.basics { ... }

.background { ... }!

.foreground { ... }!

.fancy {

! box-shadow: 10px 10px 10px #333;

}

.fancy div {

! position: absolute;

! left: 0; top: 0;

! width: 100%;!height: 50%;

! -webkit-border-top-left-radius:

! ...

! background-image:

! ! -webkit-gradient(

! ! ...

}

Page 24: Wbfntdy 2012

INTEGRATIONBest practise

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 25: Wbfntdy 2012

SO BITTE NICHT...

Auszug aus einem (ansonsten sehr gutem) »Tutorial«

Page 26: Wbfntdy 2012

ZIELSETZUNG

1. Möglichst generischer Ansatz (Vermeidung »Class-Bloat«)

2. So wenig semantischer Overhead wie möglich

3. Screenreader-freundlich (!)

Page 27: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“>Ort</span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechselung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 28: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“></span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechselung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 29: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“></span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechselung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 30: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“></span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechselung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 31: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“></span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechselung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 32: Wbfntdy 2012

LÖSUNG

<span

! aria-hidden=“true“

! data-icon= “&#xE006“></span>

[data-icon]:before {

font-family: MyIconFont;

content: attr(data-icon);

speak: none;

}

HTML

CSS

Eigenes Markup erlaubt Einsatz des aria-hidden AttributsSemantisch korrekt

content-Erzeugung durch Pseudo-Selektor

Generisches CSS dank HTML5 data-Attribut und attribut-basiertem SelektorVermeidung von eigener Klassen-Deklaration pro Icon

Charakter-Mapping in die »Private Use Area«Keine Verwechslung mit echtem Inhalt durch Suchmaschinen oder Screenreader

Page 33: Wbfntdy 2012

QUELLENBeispiele

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 34: Wbfntdy 2012
Page 35: Wbfntdy 2012

»...pixel-perfect at multiples of 28px...«

Page 36: Wbfntdy 2012
Page 37: Wbfntdy 2012
Page 38: Wbfntdy 2012
Page 39: Wbfntdy 2012
Page 40: Wbfntdy 2012
Page 41: Wbfntdy 2012

EIGENE ICON-FONTS

MOTIVATION

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 42: Wbfntdy 2012

PROZESS | Beispiel

Entwurf

VFB

EPS

AI

Page 43: Wbfntdy 2012

PROZESS | Beispiel

Entwurf

Webfont

TVFB

EPS

AI

Konvertierung

Page 44: Wbfntdy 2012

PROZESS | Beispiel

Entwurf

ggf. notwendigeZwischenformate

Webfont

TVFB

EPS

AI

Konvertierung

SVG

Page 45: Wbfntdy 2012

ENTWURF | Adobe Illustrator

Page 46: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Import: SVG-Grafik oder -Font

Output: Webfont-Archiv, Muster-Seite

Page 47: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Einfache Korrekturen

Download als Vorlage zur weiteren Bearbeitung

Page 48: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Export der gewählten Glyphen

Encoding wahlweise »Basic Latin« oder »Private Use Area« (Default)

Page 49: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Webfont (EOT, TTF, WOFF, SVG)

Muster-Seite (HTML, CSS)

Javascript für IE < 7 für Pseudo-Selektoren

Lizenz-Sammlung aller eingesetzen Schriften

Page 50: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Webfont (EOT, TTF, WOFF, SVG)

Muster-Seite (HTML, CSS)

Javascript für IE < 7 für Pseudo-Selektoren

Lizenz-Sammlung aller eingesetzen Schriften

Page 51: Wbfntdy 2012

KONVERTIERUNG | IcoMoon

Lokale Installation der TTF-Datei

Page 52: Wbfntdy 2012

MAUI 2.0

WARUM

BITMAPS VS. VEKTOREN

INTEGRATION

QUELLEN

HERSTELLUNG

DEMO

Page 53: Wbfntdy 2012

AUFGABE | Extranet

Extranet für Vertriebspartner

Anwendungsorientiert, Werkzeug

Heterogene Zielgruppe & Ausstattung

Internet Explorer ab Version 8

Stationäre PCs und mobile Endgeräte

Page 54: Wbfntdy 2012

KLASSISCHER ANSATZ | CSS Sprite

CSS-Sprite

74 Icons in 20x2059 kB

Einzeldateien

68 Icons in 43x43136 kB

Page 55: Wbfntdy 2012

VERGLEICH | Bitmap vs Webfont

Page 56: Wbfntdy 2012

VERGLEICH | Bitmap vs Webfont

Page 57: Wbfntdy 2012

VERGLEICH | Bitmap vs Webfont

Page 58: Wbfntdy 2012

VERGLEICH | Bitmap vs Webfont

Page 59: Wbfntdy 2012

GEGENÜBERSTELLUNG

CSS-Sprite

74 Icons in 20x2059 kB

Einzeldateien

68 Icons in 43x43136 kB

Page 60: Wbfntdy 2012

GEGENÜBERSTELLUNG

CSS-Sprite

74 Icons in 20x2059 kB

Einzeldateien

68 Icons in 43x43136 kB

Page 61: Wbfntdy 2012

GEGENÜBERSTELLUNG

Icon-Font

84 skalierbare Glyphen14 – 24 kB je nach Format

CSS320 Byte

CSS-Sprite

74 Icons in 20x2059 kB

Einzeldateien

68 Icons in 43x43136 kB

Page 62: Wbfntdy 2012

GEGENÜBERSTELLUNG

Icon-Font

84 skalierbare Glyphen14 – 24 kB je nach Format

CSS320 Byte

CSS-Sprite

74 Icons in 20x2059 kB

Einzeldateien

68 Icons in 43x43136 kB Ersparnis 89%

Page 63: Wbfntdy 2012

VIELEN DANK

Markus Greve T +49 89 17860–150 KOCHAN & PARTNER E [email protected] DESIGN DEVELOPMENT @mrmontezuma

Demos, Links, Ressourcen http://www.kochan.de/wbfntdy/iconfonts/Slides http://de.slideshare.net/markusgreve/wbfntdy-2012

© 2012 KOCHAN & PARTNER


Top Related