Paul Ireland has a way to do this, which covers most common problems. Check out his article with bulletproof @ font-face :
The last option, which stops unnecessary data from loading IE and works in IE8, Firefox, Opera, Safari and Chrome, looks like this:
@font-face { font-family: 'Graublau Web'; src: url('GraublauWeb.eot'); src: local('Graublau Web Regular'), local('Graublau Web'), url("GraublauWeb.woff") format("woff"), url("GraublauWeb.otf") format("opentype"), url("GraublauWeb.svg#grablau") format("svg"); }
He also refers to generator , which translates fonts into all necessary formats.
As others have already pointed out, this will only work in the latest generation of browsers. It’s best to use this in combination with something like Cufon and download only Cufon if the browser does not support @font-face .
Sean Vieira Feb 10 '10 at 15:22 2010-02-10 15:22
source share