Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Fonts

Status
Not open for further replies.

TheSponge

Technical User
Jul 2, 2003
442
GB
Does anyone know how to use my own font on a web page? can I upload the font to the server, and then link to it somehow??

Thanks

 
I believe it has to be on the machine in order to be used... you could make the text an image....

[conehead]
 
TheConeHead is right - web pages will only display fonts that reside on the users machine. That's why most web pages use either san-serif (Arial, Helvetica, Gill Sans, etc.) or serif (Times New Roman, CG Times, Tiempo, etc.) type fonts - 99.999999% of all PC's have one or both installed by default.

You could, as TheConeHead mentions, create images of your text and that's OK as long as it's something like a page title or header. It'll become a problem if you turn an entire page of text into a graphic image.

The other thing you can do is to give your users the option of downloading the font(s) on your site. I've seen this done a few times but my personal opinion is that it's a bad idea. Not many people will know, or take the time, to download and install a font. Besides, this takes them away from your site - something you really don't want to encourage.

There's always a better way. The fun is trying to find it!
 
Like Chris says, you can embed fonts in a special file on your server, which then gets downloaded by browsers that understand it (which is basically just IE - but that's 80%+ of your visitors). If it's not critical that all visitors see the special font, embedding is by far the best way to do this.

See faq215-4042 and faq215-1525 for more information.

-- Chris Hunt
 
Thankyou, all for your replies.

I will try a few of these, If not Ill just use thr regular fonts...

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top