I'm trying to get IE9 to display a custom font. Should be easy... researched plenty of google sites, and even stackoverflow questions. This is what I've got:
@font-face {
font-family: "BrushstrokePlain";
src: url("../../fonts/BRUSHSTP-webfont.eot");
src: url("../../fonts/BRUSHSTP-webfont.eot?#iefix") format("embedded-opentype"),
url("../../fonts/BRUSHSTP-webfont.woff") format("woff"),
url("../../fonts/BRUSHSTP-webfont.ttf") format("truetype"),
url("../../fonts/BRUSHSTP-webfont.svg#BrushstrokePlain") format("svg");
font-weight: normal;
font-style: normal;
}
But IE9 stubbornly refuses to cooperate. The live site is: http://family.steps.org.au
It works on all browsers and IE 7 & 8, except IE9 :(
Edit
This is what I added to my nginx config to get it working:
location ~* \.(eot|ttf|woff)$ {
add_header Access-Control-Allow-Origin *;
}