...

View Full Version : @font_face



BWiz
07-07-2007, 04: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.

BWiz.

_Aerospace_Eng_
07-07-2007, 06:05 AM
There is a good description here.
http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions
I don't know how many browsers support this. I do believe it was removed in CSS2.1.

Arbitrator
07-07-2007, 09: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.

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

_Aerospace_Eng_
07-07-2007, 07: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.

BWiz
07-07-2007, 07: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?

_Aerospace_Eng_
07-07-2007, 07: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.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum