SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Typography
        on
              web
        the




               Konstantin
               Käfer
Contents
1. Introduction to typography
2. Typography on the web
3. Drupal solutions
1. Introduction


 Typography
‣ Art of type design
‣ Nearly as old as written text
‣ Influences the legibility and the atmosphere
  of the text
‣ Very early font still used today: Garamond
  (dated to 1530/31)
1. Introduction


Anatomy
1. Introduction


Various x-heights
Hamburgefonstiv     Gill Sans

Hamburgefonstiv     Gentium

Hamburgefonstiv     Vectora

Hamburgefonstiv     Palatino

Hamburgefonstiv     Helvetica

Hamburgefonstiv     Didot
1. Introduction


 Serifs

      Hamburgefonstiv
      Hamburgefonstiv
‣ Serifs increase legibility
‣ Not for small font sizes/low resolutions
1. Introduction


Small font sizes
     Mac OS X
  Verdana                                     Palatino



     Windows XP (ClearType)



     Windows XP (no antialiasing)
1. Introduction


 Font styles
‣ Regular/Roman/Book   Hamburgefonstiv
‣ Bold                 Hamburgefonstiv
                       Hamburgefonstiv
‣ Italic
‣ Oblique/Slanted
‣ Small Caps           Hamburgefonstiv
‣ Faked bold
‣ Faked small caps     HAMBURGEFONSTIV
1. Introduction


Font weights
Ultra light    Hamburgefonstiv
Thin           Hamburgefonstiv
Light          Hamburgefonstiv
Roman          Hamburgefonstiv
Medium         Hamburgefonstiv
Bold           Hamburgefonstiv
Heavy          Hamburgefonstiv
Black          Hamburgefonstiv
1. Introduction


 Font widths
‣ Condensed    Hamburgefonstiv
‣ Regular      Hamburgefonstiv
‣ Extended     Hamburgefonstiv
1. Introduction


 Ligatures
‣ Merge together overlapping characters
‣ Origin: lead typesetting


       Muffin                 Muffin
ff fi fl ffi ffl ff                            ffiffl
1. Introduction


 Kerning
‣ Whitespace within letters
‣ Proper kerning improves legibility



            War                 War
            Text                Text
2. …on the web


 Tracking
‣ Tracking = Letter spacing                                Hamburgefonstiv
‣ Tight and wide letter spacing                            Hamburgefonstiv
  decreases legibility                                     Hamburgefonstiv
                                                           Hamburgefonstiv
‣ Tight spacing is cool
                                                           Hamburgefonstiv
‣ Wide spacing can put                                     Hamburgefonstiv
  emphasis on a word:                                      Hamburgefonstiv
  Lorem ipsum dolor sit amet, consectetur adipisicing
  elit, sed do e i u s m o d tempor incididunt ut labore
  et dolore magna aliqua. Ut enim ad minim veniam,
  quis nostrud exercitation ullamco laboris nisi ut
  aliquip ex ea commodo consequat.
2. …on the web


 Multiple lines
‣ Increasing line height increases legibility
‣ Space between two lines: leading
   Lorem ipsum dolor sit amet, consectetur adipisicing     Lorem ipsum dolor sit amet, consectetur adipisicing
   elit, sed do eiusmod tempor incididunt ut labore et     elit, sed do eiusmod tempor incididunt ut labore et
   dolore magna aliqua. Ut enim ad minim veniam,
                                                           dolore magna aliqua. Ut enim ad minim veniam,
   quis nostrud exercitation ullamco laboris nisi ut
   aliquip ex ea commodo consequat. Duis aute irure        quis nostrud exercitation ullamco laboris nisi ut
   dolor in reprehenderit in voluptate velit esse cillum
                                                           aliquip ex ea commodo consequat. Duis aute irure
   dolore eu fugiat nulla pariatur. Excepteur sint
                                                           dolor in reprehenderit in voluptate velit esse cillum
   occaecat cupidatat non proident, sunt in culpa qui
   officia deserunt mollit anim id est laborum.             dolore eu fugiat nulla pariatur. Excepteur sint
                                                           occaecat cupidatat non proident, sunt in culpa qui
                                                           officia deserunt mollit anim id est laborum.



‣ Default leading in browsers is too small
‣ Increase to at least 1.3em
2. …on the web


  Widows and orphans
                                                                                                 Widow
Lorem ipsum dolor sit amet, consectetur adipisicing elit,   sed do eiusmod tempor incididunt ut labore.
sed do eiusmod tempor incididunt ut labore et dolore        Lorem ipsum dolor sit amet, consectetur adipisicing elit,
magna aliqua. Ut enim ad minim veniam, quis nostrud         sed do eiusmod tempor incididunt ut labore et dolore
exercitation ullamco laboris nisi ut aliquip ex ea          magna aliqua. Ut enim ad minim veniam, quis nostrud
commodo consequat. Duis aute irure dolor in                 exercitation ullamco laboris nisi ut aliquip ex ea
reprehenderit in voluptate velit esse cillum dolore eu      commodo consequat. Duis aute irure dolor in
fugiat nulla pariatur. Excepteur sint occaecat cupidatat    reprehenderit in voluptate velit esse cillum dolore eu
non proident, sunt in culpa qui officia deserunt mollit      fugiat nulla pariatur. Excepteur sint occaecat cupidatat
anim id est laborum.                                        non proident, sunt in culpa qui officia deserunt mollit
Lorem ipsum dolor sit amet, consectetur adipisicing elit,   anim id est laborum.




  Orphan
2. …on the web


    Alignment
‣ Left, center, right, justify
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
    eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
    enim ad minim veniam, quis nostrud exercitation ullamco
    laboris nisi ut aliquip ex ea commodo consequat. Duis aute
    irure dolor in reprehenderit in voluptate velit esse cillum dolore
    eu fugiat nulla pariatur.




‣ Don’t justify on the web
‣ Especially not narrow columns

‣ Reason: no proper (cross-browser) hypenation
‣   html[lang=en] {
        hyphenate-dictionary:url(hyph_en.dic) }
2. …on the web


    Hyphenation
‣   ­

‣ Conditional hyphen
‣ Supported by Safari, Opera, Internet Explorer
‣ NOT supported by Mozilla
2. …on the web


 Typefaces for the web
‣ sans-serif
  ‣   Arial/Helvetica
  ‣   Verdana (or Bitstream Vera Sans)
  ‣   Lucida (Grande/Sans/Sans Unicode)
  ‣   Trebuchet MS, Tahoma

‣ serif
  ‣ Times New Roman / Times
  ‣ Georgia, Garamond, Palatino (Linotype)


‣ http://media.24ways.org/2007/17/fontmatrix.html
2. …on the web


 Curly quotes
‣ quot;Lorem Ipsumquot;, 'Dolor sit amet'
‣ “This is a quote”, ‘Dolor sit amet’
‣ «Consectetur», ‹Adipiscing›
‣ »Elit«, ›Morbis‹
2. …on the web


 Dashes
‣ - (dash/hyphen)
‣ – (en-dash)
‣ — (em-dash)
‣ − (minus)
2. …on the web


 Other characters
‣ Apostrophe: Steven’s magic.
‣ Steven´s magic        Steven's magic

‣ Times sign: 40×80, not 40x80

‣ Ellipsis: Word…, not Word...
2. …on the web


 Text replacement
‣ sIFR
  ‣ Copyright issues
  ‣ Flash: not native text
  ‣ Slow: takes time to load and initialize
‣ Various image replacement methods
  ‣ Not selectable
  ‣ Not really scalable
  ‣ No reflowing of text
2. …on the web


 Text replacement
‣ Use Canvas/VML to render text
  ‣ Cufón: http://cufon.shoqolate.com
  ‣ Typeface.js: http://typeface.neocracy.org

‣ Safari 3, Firefox 3.1: @font-face
  ‣   @font-face {
           font-family: Aller;
           src: url('Aller-Roman.otf');
      }

      font-family: Aller, sans-serif;


‣ Beware of licensing issues!
3. Drupal solutions


 SmartyPants
‣ Converts ASCII punctuation into ‘real’ punctuation
‣ ``word'' → “word”        quot;wordquot; → “word”
‣ -- → –     --- → —       ... → …

‣ http://daringfireball.net/projects/smartypants/
‣ http://drupal.org/project/marksmarty
3. Drupal solutions


 Typogriphy
‣ Collection of multiple scripts
‣ Roman/Hanging punctuation
‣ Graphical ampersands
‣ SmartyPants
‣ Widon’t
‣ Wraps quotes and all-caps words into spans

‣ http://drupal.org/project/typogrify
?

Mais conteúdo relacionado

Destaque

Destaque (14)

Health Valley Event 2014: Chiel Bos, CPZ
Health Valley Event 2014: Chiel Bos, CPZHealth Valley Event 2014: Chiel Bos, CPZ
Health Valley Event 2014: Chiel Bos, CPZ
 
Presentación catas a la carta.español
Presentación catas a la carta.españolPresentación catas a la carta.español
Presentación catas a la carta.español
 
4 t virtualcon_optimizelearning_smaller
4 t virtualcon_optimizelearning_smaller4 t virtualcon_optimizelearning_smaller
4 t virtualcon_optimizelearning_smaller
 
Animal ID Week Five
Animal ID Week FiveAnimal ID Week Five
Animal ID Week Five
 
Exploring Flexbox
Exploring FlexboxExploring Flexbox
Exploring Flexbox
 
Hydrobolt pdf Brochure
Hydrobolt pdf BrochureHydrobolt pdf Brochure
Hydrobolt pdf Brochure
 
MILD JET S2
MILD JET S2MILD JET S2
MILD JET S2
 
Basics of typography - 1
Basics of typography - 1Basics of typography - 1
Basics of typography - 1
 
Presentación venta zapper
Presentación venta zapperPresentación venta zapper
Presentación venta zapper
 
Web based writing
Web based writing Web based writing
Web based writing
 
Std réno bâti parisien3 web
Std réno bâti parisien3 webStd réno bâti parisien3 web
Std réno bâti parisien3 web
 
Multimedia journalism
Multimedia journalismMultimedia journalism
Multimedia journalism
 
Writing for the Web
Writing for the WebWriting for the Web
Writing for the Web
 
Writing for the Web: The Right Strategy
Writing for the Web: The Right StrategyWriting for the Web: The Right Strategy
Writing for the Web: The Right Strategy
 

Mais de Konstantin Käfer

Mais de Konstantin Käfer (6)

Instant Dynamic Forms with #states
Instant Dynamic Forms with #statesInstant Dynamic Forms with #states
Instant Dynamic Forms with #states
 
Front End Performance
Front End PerformanceFront End Performance
Front End Performance
 
Front End Performance
Front End PerformanceFront End Performance
Front End Performance
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript Widgets
 
Front End Performance
Front End PerformanceFront End Performance
Front End Performance
 
What's New in Web Development
What's New in Web DevelopmentWhat's New in Web Development
What's New in Web Development
 

Último

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Último (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Typography on the Web

  • 1. Typography on web the Konstantin Käfer
  • 2. Contents 1. Introduction to typography 2. Typography on the web 3. Drupal solutions
  • 3. 1. Introduction Typography ‣ Art of type design ‣ Nearly as old as written text ‣ Influences the legibility and the atmosphere of the text ‣ Very early font still used today: Garamond (dated to 1530/31)
  • 5. 1. Introduction Various x-heights Hamburgefonstiv Gill Sans Hamburgefonstiv Gentium Hamburgefonstiv Vectora Hamburgefonstiv Palatino Hamburgefonstiv Helvetica Hamburgefonstiv Didot
  • 6. 1. Introduction Serifs Hamburgefonstiv Hamburgefonstiv ‣ Serifs increase legibility ‣ Not for small font sizes/low resolutions
  • 7. 1. Introduction Small font sizes Mac OS X Verdana Palatino Windows XP (ClearType) Windows XP (no antialiasing)
  • 8. 1. Introduction Font styles ‣ Regular/Roman/Book Hamburgefonstiv ‣ Bold Hamburgefonstiv Hamburgefonstiv ‣ Italic ‣ Oblique/Slanted ‣ Small Caps Hamburgefonstiv ‣ Faked bold ‣ Faked small caps HAMBURGEFONSTIV
  • 9. 1. Introduction Font weights Ultra light Hamburgefonstiv Thin Hamburgefonstiv Light Hamburgefonstiv Roman Hamburgefonstiv Medium Hamburgefonstiv Bold Hamburgefonstiv Heavy Hamburgefonstiv Black Hamburgefonstiv
  • 10. 1. Introduction Font widths ‣ Condensed Hamburgefonstiv ‣ Regular Hamburgefonstiv ‣ Extended Hamburgefonstiv
  • 11. 1. Introduction Ligatures ‣ Merge together overlapping characters ‣ Origin: lead typesetting Muffin Muffin ff fi fl ffi ffl ff ffiffl
  • 12. 1. Introduction Kerning ‣ Whitespace within letters ‣ Proper kerning improves legibility War War Text Text
  • 13. 2. …on the web Tracking ‣ Tracking = Letter spacing Hamburgefonstiv ‣ Tight and wide letter spacing Hamburgefonstiv decreases legibility Hamburgefonstiv Hamburgefonstiv ‣ Tight spacing is cool Hamburgefonstiv ‣ Wide spacing can put Hamburgefonstiv emphasis on a word: Hamburgefonstiv Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do e i u s m o d tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
  • 14. 2. …on the web Multiple lines ‣ Increasing line height increases legibility ‣ Space between two lines: leading Lorem ipsum dolor sit amet, consectetur adipisicing Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure quis nostrud exercitation ullamco laboris nisi ut dolor in reprehenderit in voluptate velit esse cillum aliquip ex ea commodo consequat. Duis aute irure dolore eu fugiat nulla pariatur. Excepteur sint dolor in reprehenderit in voluptate velit esse cillum occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ‣ Default leading in browsers is too small ‣ Increase to at least 1.3em
  • 15. 2. …on the web Widows and orphans Widow Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore. sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, magna aliqua. Ut enim ad minim veniam, quis nostrud sed do eiusmod tempor incididunt ut labore et dolore exercitation ullamco laboris nisi ut aliquip ex ea magna aliqua. Ut enim ad minim veniam, quis nostrud commodo consequat. Duis aute irure dolor in exercitation ullamco laboris nisi ut aliquip ex ea reprehenderit in voluptate velit esse cillum dolore eu commodo consequat. Duis aute irure dolor in fugiat nulla pariatur. Excepteur sint occaecat cupidatat reprehenderit in voluptate velit esse cillum dolore eu non proident, sunt in culpa qui officia deserunt mollit fugiat nulla pariatur. Excepteur sint occaecat cupidatat anim id est laborum. non proident, sunt in culpa qui officia deserunt mollit Lorem ipsum dolor sit amet, consectetur adipisicing elit, anim id est laborum. Orphan
  • 16. 2. …on the web Alignment ‣ Left, center, right, justify Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. ‣ Don’t justify on the web ‣ Especially not narrow columns ‣ Reason: no proper (cross-browser) hypenation ‣ html[lang=en] { hyphenate-dictionary:url(hyph_en.dic) }
  • 17. 2. …on the web Hyphenation ‣ ­ ‣ Conditional hyphen ‣ Supported by Safari, Opera, Internet Explorer ‣ NOT supported by Mozilla
  • 18. 2. …on the web Typefaces for the web ‣ sans-serif ‣ Arial/Helvetica ‣ Verdana (or Bitstream Vera Sans) ‣ Lucida (Grande/Sans/Sans Unicode) ‣ Trebuchet MS, Tahoma ‣ serif ‣ Times New Roman / Times ‣ Georgia, Garamond, Palatino (Linotype) ‣ http://media.24ways.org/2007/17/fontmatrix.html
  • 19. 2. …on the web Curly quotes ‣ quot;Lorem Ipsumquot;, 'Dolor sit amet' ‣ “This is a quote”, ‘Dolor sit amet’ ‣ «Consectetur», ‹Adipiscing› ‣ »Elit«, ›Morbis‹
  • 20. 2. …on the web Dashes ‣ - (dash/hyphen) ‣ – (en-dash) ‣ — (em-dash) ‣ − (minus)
  • 21. 2. …on the web Other characters ‣ Apostrophe: Steven’s magic. ‣ Steven´s magic Steven's magic ‣ Times sign: 40×80, not 40x80 ‣ Ellipsis: Word…, not Word...
  • 22. 2. …on the web Text replacement ‣ sIFR ‣ Copyright issues ‣ Flash: not native text ‣ Slow: takes time to load and initialize ‣ Various image replacement methods ‣ Not selectable ‣ Not really scalable ‣ No reflowing of text
  • 23. 2. …on the web Text replacement ‣ Use Canvas/VML to render text ‣ Cufón: http://cufon.shoqolate.com ‣ Typeface.js: http://typeface.neocracy.org ‣ Safari 3, Firefox 3.1: @font-face ‣ @font-face { font-family: Aller; src: url('Aller-Roman.otf'); } font-family: Aller, sans-serif; ‣ Beware of licensing issues!
  • 24. 3. Drupal solutions SmartyPants ‣ Converts ASCII punctuation into ‘real’ punctuation ‣ ``word'' → “word” quot;wordquot; → “word” ‣ -- → – --- → — ... → … ‣ http://daringfireball.net/projects/smartypants/ ‣ http://drupal.org/project/marksmarty
  • 25. 3. Drupal solutions Typogriphy ‣ Collection of multiple scripts ‣ Roman/Hanging punctuation ‣ Graphical ampersands ‣ SmartyPants ‣ Widon’t ‣ Wraps quotes and all-caps words into spans ‣ http://drupal.org/project/typogrify
  • 26. ?