I'm pulling my hair out here. I can't seem to get the webfonts from myfonts.com to show up in Firefox only. Works in all other browsers. It's being loaded in an iframe if that helps.
All of my research has mentioned a plethora of fixes that I seem to already be implementing.
- making sure your 'eot' formats are listed last
- modify .htaccess adding
Header set Access-Control-Allow-Origin "*"
for filesMatch (provided by HTML5BP by default) - use relative paths in css like
../myfont
instead of absolute paths
My "webdings.css" file looks like the following:
@import url("//hello.myfonts.net/count/2a77d0");
@font-face {
font-family: 'Webdings';
src: url('../fonts/2A77D0_0_0.eot');
src: url('../fonts/2A77D0_0_0.eot?#iefix') format('embedded-opentype'),
url('../fonts/2A77D0_0_0.woff') format('woff'),
url('../fonts/2A77D0_0_0.ttf') format('truetype');
}
.Webdings
{
font-family:Webdings;
font-weight: normal;
font-style: normal;
}
And then my main.css file has:
.content p{font-family: Webdings; text-align: center;}
Again - works in all browsers EXCEPT firefox. Any help would be appreciated.
Edit If it helps. I'm also using a google font which DOES work.
Edit 2: Changed the format back to the proper format (it still doesn't work)
I've checked the Firefox Dev Tools Network section and 2a77d0 from hello.myfonts.net does come back ok however, it's empty. The google one has fonts. I'm sure this doesn't matter as I'm hosting the fonts locally where googles are hosted on their servers.