Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: @font_face

  1. #1
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts

    @font_face

    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.
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    There is a good description here.
    http://www.w3.org/TR/REC-CSS2/fonts....t-descriptions
    I don't know how many browsers support this. I do believe it was removed in CSS2.1.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,338
    Thanks
    29
    Thanked 282 Times in 276 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    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.

    Quote Originally Posted by _Aerospace_Eng_ View Post
    I do believe it was removed in CSS2.1.
    It was moved to the CSS3 Web Fonts Module, which hasn’t seen any public drafts since 2002. That specification is listed as “low priority” on the W3C’s CSS: Current Work page.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #4
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Okay, thank's a lot for the input guys. I was getting excited for a second that I could set fonts
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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. 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.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    ... that outputs your specified font in the .fla file.
    .fla? I didn't know that browsers could show those. Isn't it .swf?
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yes its .swf but you need to edit the .fla (the document that actually makes the .swf possible) to display your specified font.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #8
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Okay thanks Aero and Arbitrator - I'll give sIFR a shot.
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •