Jump to content

how to use a downloaded font?


dadamssg

Recommended Posts

Browser support is very poor at the moment, you can (according to CSS2) use the @font-face selector to embed a font. Example:

 

@font-face {
    font-family: "Parisian BT";
    src: url("parisian.ttf");
}

But i don't know how well it will work in current browsers. So you cant really use downloaded, or home made fonts at the moment, there is however something called "Embedded OpenType Fonts", which can be used in MSIE.

 

See also: http://www.microsoft.com/typography/web/embedding/default.aspx

 

And the request made to w3c: http://www.w3.org/Submission/2008/01/

 

Embedded fonts likely won't be supported before CSS3 is standardized.

 

 

Note. PHP allows to render text with the desired font as images, i would however highly recommend to stay away from such techniques.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.