SlideShare a Scribd company logo
1 of 89
Web
Typography
FTW
With
sIFR 3



             <head> conference
             Oct 26, 2008


             Mark Wubben
             supercollider.dk
             cc-by-sa-2.0
Plan

Web Typography

Alternatives

sIFR
Questions!
Yesterday
(and Today)
~1997

IE 4 with proprietary
EOT

NS 4 with proprietary
TrueDoc from
Bitstream
CSS Web Fonts

 Specified in CSS 2

 Removed in CSS 2.1

 Back in CSS 3, dormant
 since 2002
Tomorrow?
Jason Teague

 CSS 3 Web Fonts
 Module

Safari 3.1

 Supports Font Linking

Soon

 Firefox 3.1, Opera 10
Font
Linking
@font-face {
  font-family: quot;GraublauWebquot;;
  src: url(quot;/GraublauWeb-Regularquot;) format(quot;truetypequot;);
}
h1 {
  font-family: quot;GraublauWebquot;;
}
http://alistapart.com/d/cssatten/poen.html
Font Linking

 Easy!

 But, large files

 Original files!
Font
Piracy?
Unexpected
Hero?
EOT

Different format

Domain locking

Subsetting

Compression
Obvious
Villain?
Text
Replacement
Images
http://facelift.mawhorter.net
Flash
Image Replacement

 Font remains on server

 No Flash!
Image Replacement

 Server-side code

 Images are static

 No real text
Flash Replacement

 Font only for Flash
 export

 No server-side code

 Actual text

 Flash is dynamic
Flash Replacement

 Flash…

 (Can be) CPU intensive

 Links suck

 Flash text isn’t browser
 text
SVG
Silverlight
Questions
So Far?
scalable
Inman
Flash
Replacement
abriefmessage.com
labs.iamkoa.net
jasonsantamaria
.com
seedconference.com
sIFR?!
Spring 2004
Shaun Inman
Inman
Flash
Replacement
Summer ’04,
scalable IFR
Spring ’05,
sIFR 2.0
sIFR 3?
Progressive
Enhancement




 HTML   JavaScript?   Flash?   Browser?   sIFR!
New
Since
2.0
Applying
sIFR




  Site     HTML?   CSS   JavaScript   sIFR!
Site
Site   HTML?
<head>
  <link rel=quot;stylesheetquot; href=quot;sIFR-screen.cssquot;
        type=quot;text/cssquot; media=quot;screenquot;>

 <link rel=quot;stylesheetquot; href=quot;sIFR-print.cssquot;
       type=quot;text/cssquot; media=quot;printquot;>

  <script type=quot;text/javascriptquot; src=quot;sifr.jsquot;>
  </script>
</head>
<head>
  <link rel=quot;stylesheetquot; href=quot;sIFR-screen.cssquot;
        type=quot;text/cssquot; media=quot;screenquot;>

  <link rel=quot;stylesheetquot; href=quot;sIFR-print.cssquot;
        type=quot;text/cssquot; media=quot;printquot;>

  <script type=quot;text/javascriptquot; src=quot;sifr.jsquot;>
  </script>
</head>
<head>
  <link rel=quot;stylesheetquot; href=quot;sIFR-screen.cssquot;
        type=quot;text/cssquot; media=quot;screenquot;>

  <link rel=quot;stylesheetquot; href=quot;sIFR-print.cssquot;
        type=quot;text/cssquot; media=quot;printquot;>

  <script type=quot;text/javascriptquot; src=quot;sifr.jsquot;>
  </script>
</head>
Site   HTML?   CSS
.sIFR-active h1 {
  font-family: Verdana;
  line-height: 1em;
  visibility: hidden;

    /* Forces sIFR text to work nicely with
       floated image, at least in this scenario
    */
    display: inline;
}
Site   HTML?   CSS
Site   HTML?   CSS   JavaScript
var fgm = { src: 'franklin-gothic-medium.swf' };

sIFR.activate(fgm);
sIFR.replace(fgm, {
  selector: 'h1',
  css:      '.sIFR-root { color: #000000; } 
             .head {                        
               color: #0068A3;              
             }'
});
Site   HTML?   CSS   JavaScript   sIFR!
Behind the
Scenes
Hyperlinks
<h1><a href=quot;/quot;>Home</a></h1>

sIFR.replace(rockwell, {
  selector: 'a'
});
<h1><a href=quot;/quot;>Home</a></h1>

sIFR.replace(rockwell, {
  selector: 'h1'
});
<h1><span><a href=quot;/quot;>Home</a></span></h1>

sIFR.replace(rockwell, {
  selector: 'span'
});
Questions
So Far?
Making
sIFR
Rock!
Debugging
<head>
  <link rel=quot;stylesheetquot; href=quot;sIFR-screen.cssquot;
        type=quot;text/cssquot; media=quot;screenquot;>

  <link rel=quot;stylesheetquot; href=quot;sIFR-print.cssquot;
        type=quot;text/cssquot; media=quot;printquot;>

  <script type=quot;text/javascriptquot; src=quot;sifr.jsquot;>
  </script>

  <script type=quot;text/javascriptquot; src=quot;sifr-debug.jsquot;>
  </script>
</head>
Ratios
sIFR.replace(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }'
});
sIFR.replace(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }'
});
sIFR.debug.ratios(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }'
});
var rockwell = {
   src:        'rockwell.swf',
   ratios:     [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25]
};

sIFR.replace(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }'
});
Tuning
sIFR.replace(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }',
  tuneHeight: 8,
  tuneWidth:   1,
  offsetTop:   4,
  offsetLeft: 2
});
sIFR.replace(rockwell, {
  selector:    'h2',
  css:         '.sIFR-root { color: #FFFFFF; }',
  fitExactly: true
});
Glyphs
Glyphs




Normal
Bold
Italic
Italic & Bold
Glyphs




lowercase
UPPERCASE
!@#$%^&*(){}
åæøéüîãàç
Domain
Binding
class Options {
  public static function apply() {
    sIFR.domains = ['*.example.com', 'example.com'];
  }
}
var rockwell = { src: 'rockwell.swf' };

sIFR.domains = ['*.example.com', 'example.com'];
sIFR.activate(rockwell);
Next
for sIFR
Resources

 11born.net/sifr3

 11born.net/sifr3/wiki

 11born.net/sifr3/forum

 11born.net/sifr3/nightlies
Thanks!

11born.net/head08
Many thanks to these
wonderful Flickr
photographers:         Jeremy Keith
Ralph Aichinger        antifluor
Zara J                 Stig Nygaard
Sharat Ganapati        Rex Sorgatz
Eduardo Arcos          Ed Schipul
Hashir Milhan          Wolfgang Staudt
Andrew Becherer        Jesus Solana
Jeff Kubina            David Goehring
Germán Meyer
Lali Masriera

More Related Content

What's hot

CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書
拓樹 谷
 
Advanced SEO for Web Developers
Advanced SEO for Web DevelopersAdvanced SEO for Web Developers
Advanced SEO for Web Developers
Nathan Buggia
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name Here
FreedSoftwares
 
Fronteers 20091105 (1)
Fronteers 20091105 (1)Fronteers 20091105 (1)
Fronteers 20091105 (1)
guestbf04d7
 
Class 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleClass 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddle
Erin M. Kidwell
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
Even Wu
 

What's hot (20)

CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書
 
What's new in Rails 2?
What's new in Rails 2?What's new in Rails 2?
What's new in Rails 2?
 
PHP
PHPPHP
PHP
 
Advanced SEO for Web Developers
Advanced SEO for Web DevelopersAdvanced SEO for Web Developers
Advanced SEO for Web Developers
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name Here
 
Advanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIsAdvanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIs
 
A More Perfect Union with CSS
A More Perfect Union with CSSA More Perfect Union with CSS
A More Perfect Union with CSS
 
Building Secure Twitter Apps
Building Secure Twitter AppsBuilding Secure Twitter Apps
Building Secure Twitter Apps
 
Fronteers 20091105 (1)
Fronteers 20091105 (1)Fronteers 20091105 (1)
Fronteers 20091105 (1)
 
SlideShare Instant
SlideShare InstantSlideShare Instant
SlideShare Instant
 
SlideShare Instant
SlideShare InstantSlideShare Instant
SlideShare Instant
 
04 Architecting Navigation
04   Architecting Navigation04   Architecting Navigation
04 Architecting Navigation
 
Class 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleClass 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddle
 
Finding things on the web with BOSS
Finding things on the web with BOSSFinding things on the web with BOSS
Finding things on the web with BOSS
 
.htaccess for SEOs - A presentation by Roxana Stingu
.htaccess for SEOs - A presentation by Roxana Stingu.htaccess for SEOs - A presentation by Roxana Stingu
.htaccess for SEOs - A presentation by Roxana Stingu
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & Compass
 
The Loop
The LoopThe Loop
The Loop
 
Make Everyone a Tester: Natural Language Acceptance Testing
Make Everyone a Tester: Natural Language Acceptance TestingMake Everyone a Tester: Natural Language Acceptance Testing
Make Everyone a Tester: Natural Language Acceptance Testing
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 
Doing more with LESS
Doing more with LESSDoing more with LESS
Doing more with LESS
 

Viewers also liked

RESUME HAKIM (1)
RESUME HAKIM (1)RESUME HAKIM (1)
RESUME HAKIM (1)
Hakim Samat
 

Viewers also liked (13)

RESUME HAKIM (1)
RESUME HAKIM (1)RESUME HAKIM (1)
RESUME HAKIM (1)
 
A contribuição da psicologia apresentação aula criatividade
A contribuição da psicologia apresentação aula criatividadeA contribuição da psicologia apresentação aula criatividade
A contribuição da psicologia apresentação aula criatividade
 
Geek Meet: Homemade Ubicomp
Geek Meet: Homemade UbicompGeek Meet: Homemade Ubicomp
Geek Meet: Homemade Ubicomp
 
Terminologias WAN
Terminologias WANTerminologias WAN
Terminologias WAN
 
La ciudad 2.0: de las ciudades-carteleras a las ciudades digitales
La ciudad 2.0: de las ciudades-carteleras a las ciudades digitalesLa ciudad 2.0: de las ciudades-carteleras a las ciudades digitales
La ciudad 2.0: de las ciudades-carteleras a las ciudades digitales
 
IoT ALGYAN Loghtning Talks on 2/22/2017
IoT ALGYAN Loghtning Talks on 2/22/2017IoT ALGYAN Loghtning Talks on 2/22/2017
IoT ALGYAN Loghtning Talks on 2/22/2017
 
Presentation de dipl'me au BlockFest 1.0
Presentation de dipl'me au BlockFest 1.0Presentation de dipl'me au BlockFest 1.0
Presentation de dipl'me au BlockFest 1.0
 
Concrete, Concrete Boat SIS5
Concrete, Concrete Boat SIS5Concrete, Concrete Boat SIS5
Concrete, Concrete Boat SIS5
 
Everyday Life Champion - A Book by Dinesh Chandrasekar
Everyday Life Champion - A Book by Dinesh ChandrasekarEveryday Life Champion - A Book by Dinesh Chandrasekar
Everyday Life Champion - A Book by Dinesh Chandrasekar
 
Proposal penawaran
Proposal penawaranProposal penawaran
Proposal penawaran
 
Miss la sen hand drawing 6
Miss la sen hand drawing 6Miss la sen hand drawing 6
Miss la sen hand drawing 6
 
04Dequipo01
04Dequipo0104Dequipo01
04Dequipo01
 
Bab 9 sni 6
Bab 9 sni 6Bab 9 sni 6
Bab 9 sni 6
 

Similar to Bringing Typography to the Web with sIFR 3 at <head>

Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Tatsuhiko Miyagawa
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML Tricks
Compare Infobase Limited
 
Creating Art with Codes - CSS3
Creating Art with Codes - CSS3Creating Art with Codes - CSS3
Creating Art with Codes - CSS3
Sayanee Basu
 

Similar to Bringing Typography to the Web with sIFR 3 at <head> (20)

Html5, css3, canvas, svg and webgl
Html5, css3, canvas, svg and webglHtml5, css3, canvas, svg and webgl
Html5, css3, canvas, svg and webgl
 
HTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.pptHTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
 
Css
CssCss
Css
 
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
 
CSS
CSSCSS
CSS
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML Tricks
 
Css3 101
Css3 101Css3 101
Css3 101
 
Web Design Redux
Web Design ReduxWeb Design Redux
Web Design Redux
 
The Future of CSS
The Future of CSSThe Future of CSS
The Future of CSS
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors. Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
 
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
 
Iml140 cs sbasics_week5
Iml140 cs sbasics_week5Iml140 cs sbasics_week5
Iml140 cs sbasics_week5
 
Basics of html5, data_storage, css3
Basics of html5, data_storage, css3Basics of html5, data_storage, css3
Basics of html5, data_storage, css3
 
Web Typography Tips
Web Typography TipsWeb Typography Tips
Web Typography Tips
 
Ruby off Rails---rack, sinatra and sequel
Ruby off Rails---rack, sinatra and sequelRuby off Rails---rack, sinatra and sequel
Ruby off Rails---rack, sinatra and sequel
 
Creating Art with Codes - CSS3
Creating Art with Codes - CSS3Creating Art with Codes - CSS3
Creating Art with Codes - CSS3
 
APEX Themes and Templates
APEX Themes and TemplatesAPEX Themes and Templates
APEX Themes and Templates
 

More from Mark Wubben

More from Mark Wubben (7)

Building Installations in Five Days (and a bit) at Ignite London 4
Building Installations in Five Days (and a bit) at Ignite London 4Building Installations in Five Days (and a bit) at Ignite London 4
Building Installations in Five Days (and a bit) at Ignite London 4
 
Theory from Practice: Stories and Takeaways from Hacker Camps
Theory from Practice: Stories and Takeaways from Hacker CampsTheory from Practice: Stories and Takeaways from Hacker Camps
Theory from Practice: Stories and Takeaways from Hacker Camps
 
Chrome Extensions for Web Hackers
Chrome Extensions for Web HackersChrome Extensions for Web Hackers
Chrome Extensions for Web Hackers
 
Building Installations in Five Days (and a bit) — Södertörn University
Building Installations in Five Days (and a bit) — Södertörn UniversityBuilding Installations in Five Days (and a bit) — Södertörn University
Building Installations in Five Days (and a bit) — Södertörn University
 
Homemade Ubicomp at Reboot 11
Homemade Ubicomp at Reboot 11Homemade Ubicomp at Reboot 11
Homemade Ubicomp at Reboot 11
 
Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3
 
SHiFT 08 - Home Made Ubicomp
SHiFT 08 - Home Made UbicompSHiFT 08 - Home Made Ubicomp
SHiFT 08 - Home Made Ubicomp
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
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
Enterprise Knowledge
 

Recently uploaded (20)

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...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 

Bringing Typography to the Web with sIFR 3 at <head>