UPDATE
Best Practices for Serving Webfonts to IE9
New code:
[css]@font-face {
font-family: ‘MyWebFont’;
src: url(‘webfont.eot’); /* IE9 Compat Modes */
src: url(‘webfont.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘webfont.woff’) format(‘woff’), /* Modern Browsers */
url(‘webfont.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘webfont.svg#svgFontName’) format(‘svg’); /* Legacy iOS */
}[/css]
PREVIOUS
An improvement on Paul Irish’s original Bulletproof syntax and the follow-up Mo’ Bulletproofer syntax …
Today from Ethan Dunham at the Fontspring blog, a fix for troubles loading web fonts across browsers, including Android, IE 9, etc.
[css]@font-face {
font-family: ‘MyFontFamily’;
src: url(‘myfont-webfont.eot#’) format(’embedded-opentype’),
url(‘myfont-webfont.woff’) format(‘woff’),
url(‘myfont-webfont.ttf’) format(‘truetype’),
url(‘myfont-webfont.svg#webfontFqDaNIX6’) format(‘svg’);
}[/css]