[OpenFontLibrary] More about @font-face

Christopher Fynn cfynn at gmx.net
Sat Jun 6 19:27:44 PDT 2009


Fontfreedom at aol.com wrote:

> @font face does not work with IE...What do you mean "supported it"? Is 
> there a 3rd party downloadable plugin somewhere so it will work? @font 
> face does not work with MSIE 6 or MSIE 7 or MSIE 8. Maybe it will be in 
> MSIE 9?

Of course it does, but only with EOT format fonts.  Does W3C mandate a 
particular font format in that part of the CSS spec?  In fact wasn't it 
someone from Microsoft who originally proposed @font-face embedding that 
was first included in the CSS 1.5 draft spec?


<!--[if IE]>
<style type="text/css">
@font-face {
   font-family: "OFLFreeFont";
   font-style:  normal;
   font-weight: normal;
   src: url("fon ts/OFLFreeFont.eot");
}
</style>
<![endif]-->

<!--[if !IE]>-->
<style type="text/css">
@font-face {
   font-family: "OFLFreeFont";
   font-style:  normal;
   font-weight: normal;
   src: url("fonts/OFLFreeFont.ttf");
}
</style>
<!--<![endif]-->

- C



More information about the OpenFontLibrary mailing list