Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Putting the font in Front-End

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
Avatar for Jake Smith Jake Smith
February 16, 2010

Putting the font in Front-End

An old presentation from Speak The Web Liverpool event, talking about using fonts online.

Avatar for Jake Smith

Jake Smith

February 16, 2010

More Decks by Jake Smith

Other Decks in Technology

Transcript

  1. Why use fonts? • To establish a tone of voice!

    • To reaffirm customer loyalty 
 through branding! • To communicate better
  2. Type designers • Neville Brody! • Eric Gill! • Bruno

    Maag! • Darren Scott! • Erik Spiekermann
  3. Foundries as a label • They have a roster of

    artists! • The artists produce a variety of works! • You never actually own anything you pay them for… you license it
  4. I know for a fact there’s discs of my fonts

    doing the rounds in Manchester, and I don’t give a shit. It raises my profile.” ! Darren Scott! Creative Director! Truth Design Consultancy! ! Fonts: Aggregate, Hydrate, Mechanic Gothic, Nitrogen “
  5. 2010 • Courier! • Times New Roman! • Arial! •

    Verdana! • Georgia! • Impact! • Trebuchet MS! • Comic Sans
  6. 2010 • Courier! • Times New Roman! • Arial! •

    Verdana! • Georgia! • Impact! • Trebuchet MS! • Comic Sans
  7. basics – sIFR • Font published from Flash! • Configurable

    through CSS and a config.js file! • Replaces any selector matching your criteria! • #protip – Only visible from a live server during dev
  8. cons – sIFR • It is difficult to learn the

    intricacies! • FUC! The flash of unstyled content! • Multiple instances of Flash on a page! • Awkward to style advanced user events
  9. pros – Cufón • A lot quicker to implement! •

    Styled by just the CSS! • Online tools for generating font outlines
  10. cons – Cufón • Still getting FUC’d! • No security

    for reverse engineering font descriptions! • Need to check font EULAs
  11. basics – @font-face • Been around since 1998…! • Part

    of CSS2 spec! • Neither browser support the most common font format TrueType! • IEs proprietary EOT format killed off Netscape’s TrueDoc
  12. @font-face { font-family: 'LeagueGothicRegular'; src: url('League_Gothic.eot'); src: local('League Gothic Regular'),

    local('LeagueGothic'), url('League_Gothic.woff') format('woff'), url('League_Gothic.otf') format ('opentype'), url('League_Gothic.svg#LeagueGothic') format('svg'); }
  13. pros – @font-face • It’s in the spec! • all

    handled through CSS, no JS! • plenty of free fonts to use
  14. basics – Typekit • Subscription based service! • Currently has

    350+ fonts available! • Font references held in the CSS file,
 all standards compliant, accessible
 and legal
  15. pros – Typekit • Quality complete fonts! • Simple licensing

    plan! • Easy to incorporate into your site
  16. cons – Typekit • Can’t test fonts without live connection!

    • Stop paying subscription, no more fonts! • Limited amount of Foundries and fonts