0

I'm having an issue with Firefox where one of my fonts isn't loading from my CDN. I already have Access-Control-Allow-Origin set to *.

The font in question only has WOFF and EOT files (due to licensing) whereas the other font that works has WOFF, EOT, TTF and SVG files.

From what I understand WOFF is supported, https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

Is there something I'm missing to get this to work?

@font-face {
    font-family: 'ProximaNovaReg';
    src: url('../fonts/ProximaNova-RegWeb.eot');
    src: url('../fonts/ProximaNova-RegWeb.eot#iefix') format('embedded-opentype'), url('../fonts/ProximaNova-RegWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNovaSbold';
    src: url('../fonts/ProximaNova-SboldWeb.eot');
    src: url('../fonts/ProximaNova-SboldWeb.eot#iefix') format('embedded-opentype'), url('../fonts/ProximaNova-SboldWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
kel
  • 1,579
  • 4
  • 18
  • 31

1 Answers1

0

I solved this by removing #iefix but it looks like it should have been ?#iefix. I found more information here: CSS Font Face "?#iefix"

Community
  • 1
  • 1
kel
  • 1,579
  • 4
  • 18
  • 31