Why does this fontface render in IE8:
@font-face {
font-family: 'Aller';
src: url('aller_rg-webfont.eot');
src: url('aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
url('aller_rg-webfont.woff') format('woff'),
url('aller_rg-webfont.ttf') format('truetype'),
url('aller_rg-webfont.svg#AllerRegular') format('svg');
font-weight: normal;
font-style: normal;
}
And this does not:
@font-face {
font-family: 'Champagne';
src: url('champreg-webfont.eot');
src: url('champreg-webfont.eot?#iefix') format('embedded-opentype'),
url('champreg-webfont.woff') format('woff'),
url('champreg-webfont.ttf') format('truetype'),
url('champreg-webfont.svg#Champagne&LimousinesRegular') format('svg');
font-weight: normal;
font-style: normal;
}
I really can't figure it out. All other browsers work fine, obviously.
Try creating a new .eot
file with one of the others using an online woff/ttf/svg to eot convertor.
If this new file doesn't work, then it might be a problem with the font itself. Sometimes IE6-8 has a fit if the Fontname and Family Name are not the same within the actual font file. To fix it:
Element
> Font Info
Every issue I've had with font-face - if the CSS was correct - worked with one of the above two solutions, so good luck :-) Maybe even try saving the font without any changes in FontForge and converting that online before you fiddle with the name properties.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With