Any font, even if you havn't installed it SCRIPT!

Last post 07-03-2009 2:00 PM by nov1ce. 2 replies.

Sort Posts:

  • Any font, even if you havn't installed it SCRIPT!

    07-03-2009, 10:08 AM
    • Member
      2 point Member
    • nov1ce
    • Member since 05-19-2009, 12:44 PM
    • Posts 14

     Hi,

    I was wondering if anyone has a script or code that allows you to use a font on your website, and anyone visiting your site will be able to see the font even without installing it? Instead of relative to a family.

    I know of someone who has nearly completed this but is deep into the testing stage... Is there such a script/code?

    If I'm not making sense please ask.

    Thanks

    HR

  • Re: Any font, even if you havn't installed it SCRIPT!

    07-03-2009, 1:38 PM
    Answer

    It's easy to include external fonts in your website..

    Steps  Involved:

    1.Get your font file.

    2.Create An Embedded Font File

    Create embedded fonts using one of 2 available formats:

    1. Portable Font Resources (.pfr): TrueDoc technology was developed by Bitstream and licensed by Netscape. It can be viewed by Navigator 4.0+ and Explorer 4.0+ on Windows, Mac, and Unix platforms.
    2. Embeddable Open Type (.eot): Compatible only with Explorer 4.0+ on the Windows platform. Create .eot files using Microsoft's free Web Embedding Font Tool (WEFT).

    After you've created the embedded font file, you're ready to attach it to a CSS.

    3. Attach To Your Style Sheet

    LINK rel = "fontdef" src="url/YourFontName.pfr">


    Saurabh Nijhawan(B.Tech. CSE,GGSIPU,New Delhi)
    Application Architect, Eminent Solutions, New Delhi.
    Freelancer | Teacher
    Remember to click "Mark as Answer" on the post, if it helped you.
    ASP.NET Weblog
    http://www.saurabhnijhawan.com
    Learning Made Easy


  • Re: Any font, even if you havn't installed it SCRIPT!

    07-03-2009, 2:00 PM
    • Member
      2 point Member
    • nov1ce
    • Member since 05-19-2009, 12:44 PM
    • Posts 14

     Hi thats so simple... So if someone who hasnt installed that font and view my website... the font will be the one I attached to my Style sheet? It won't be viewed in a different font?

    If so brilliant.

Page 1 of 1 (3 items)