Bulletproof @font-face Syntax

Wednesday, 02 December 2009

According to Paul Irish's article on Bulletproof @font-face syntax, this is the best @font-face syntax to use:

@font-face {
  font-family: 'Graublau Web';
  src: url('GraublauWeb.eot');
  src: local('Graublau Web Regular'), local('Graublau Web'), 
         url('GraublauWeb.otf') format('opentype');

Check out his article for more information on why this works and the road he took to get here.