View Full Version : @font_face

07-07-2007, 05:26 AM
A quick question; I recently came across the CSS rule: @font-face. I tried googling the term, however none of the pages came up with any table telling me cross-browser functionallity.

Could anyone provide a link or explain, basically, anything about this rule. Thanks in advice.


07-07-2007, 07:05 AM
There is a good description here.
I don't know how many browsers support this. I do believe it was removed in CSS2.1.

07-07-2007, 10:34 AM
I don't know how many browsers support this.I believe that only Internet Explorer supports this and only in a single, proprietary format called Embedded OpenType (*.eot). It seems that this has been the case since Internet Explorer 5.5. I donít know how close their implementation follows the CSS2 specification.

I do believe it was removed in CSS2.1.It was moved to the CSS3 Web Fonts Module (http://www.w3.org/TR/css3-webfonts/), which hasnít seen any public drafts since 2002. That specification is listed as ďlow priorityĒ on the W3Cís CSS: Current Work (http://www.w3.org/Style/CSS/current-work) page.

07-07-2007, 08:43 PM
Okay, thank's a lot for the input guys. I was getting excited for a second that I could set fonts :(

07-07-2007, 08:46 PM
If you don't want to have to create images for all of the things you want to have special fonts on then perhaps you could use sIFR (http://www.mikeindustries.com/sifr/). I've used it before. Basically it takes some input via the query string and inserts it into a dynamically created flash file that outputs your specified font in the .fla file.

07-07-2007, 08:50 PM
... that outputs your specified font in the .fla file.

.fla? I didn't know that browsers could show those. Isn't it .swf?

07-07-2007, 08:53 PM
Yes its .swf but you need to edit the .fla (the document that actually makes the .swf possible) to display your specified font.

07-07-2007, 09:01 PM
Okay thanks Aero and Arbitrator - I'll give sIFR a shot.