PDA

View Full Version : Embedded font bug in IE8



emspace
Sep 13th, 2010, 07:47 PM
We recently started using embedded fonts on our site, and I'm seeing very strange behavior in IE8. The embedded font is only sporadically displayed... On a page with the embedded font, when the page is repeatedly refreshed, the embedded font shows up about half of the time. The rest of the time the default font shows up.

Sometimes rolling over an element with the embedded font will cause the font to switch from default to the embedded font.

Has anyone seen this kind of behavior before?

Here is the code we're using to embed the font:

@font-face {
font-family: 'VegurMedium';
src: url('/fonts/Vegur-Medium.eot');
src: local('//:'),
url('/fonts/Vegur-Medium.ttf') format('truetype');
}


This code was based off of this article (http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/).