Add something new to Virb:

Virb

Are you sure you want to delete that?

or Cancel

 

Zoltan Hawryluk has written a detailed in-depth post on @font-face.

Not only does he go into detail on using fonts via CSS:

CSS:
  1.  
  2. @font-face {
  3.         font-family: 'Droid Sans';
  4.         src: url('/shared/fonts/DroidSans/DroidSans.eot');
  5.         src: local('Droid Sans'),
  6.              local('Droid Sans'),
  7.              url('/shared/fonts/DroidSans/DroidSans.ttf') format('truetype');
  8. }
  9.  
  10. /* Bold declaration only for non-IE browsers */
  11. @font-face {
  12.         font-family: 'Droid Sans';
  13.         src: local('Droid Sans Bold'),
  14.              local('Droid Sans-Bold'),
  15.              url('/shared/fonts/DroidSans/DroidSans-Bold.ttf') format('truetype');
  16.         font-weight: bold;
  17. }
  18.  
  19. body {
  20.      font-family: "Droid Sans", "Arial", "Helvetica", sans-serif;
  21. }
  22.  

... but he also goes into detail on how fonts are rendered in various browsers:

fontfaceinbrowsers

He opines:

  • Fonts displayed on Safari for Windows (and all browsers on the Mac) in my opinion look the nicest
  • I have found that Internet Explorer does a poor job when displaying fonts converted from OpenType
  • Firefox users first see the page without the embedded font until the font is loaded completely

Loading comments...

Likes

Details

Viewed 63 times

© 2009 Depositado.

virb.com/t/5335072
tweet!

Flag this text post!

Flag this text post as:

or Cancel

 

Advertisement

Flag this profile!

Flag this profile as:

or Cancel