Font Face Not Working For IE8 ?? Getting @font-face Encountered Unknown Error.?
I am using font face to include a customised font named razing. The font is not working in IE8 but works well on IE9+ and other browsers. I checked the console in IE8 browser and i
Solution 1:
Try format('embedded-opentype') at the end of your #iefix line. e.g.
src: url(Fonts/Razing/razing.eot?#iefix) format('embedded-opentype'),
Solution 2:
Edit your font file, define identical names for Fontname, Family name and Name and export your TTF. You can use the FontForge application.
And then again convert it for web (EOT, WOFF).
Make it work by downloading version of the TTF font and converted it for web.
CSS
@font-face {
font-family: 'Razing';
src: url('fonts/Razing.eot');
src: url('fonts/Razing.eot?iefix') format('opentype'),
url('fonts/Razing.woff') format('woff'),
url('fonts/Razing.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Post a Comment for "Font Face Not Working For IE8 ?? Getting @font-face Encountered Unknown Error.?"