Jump to content


Photo

Font on HTML pages


  • Please log in to reply
4 replies to this topic

#1 wizzkid

wizzkid
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 24 July 2006 - 05:45 PM

Hi! I am wondering if a font type can be uploaded and used on html.

Upon designing a webpages, we/I used a specific font/s let say "arial".  and when serve to the inetrnet and somebody tried to access the site, but that user doesnt have the font use, it will automatically use its defualt text right?

Is there a way to upload the specific font and put a script on the page to use the uploaded font?

Please let me know how to do it

Thanks a lot.



#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 24 July 2006 - 06:21 PM

You should provide a selection of fonts, eg for your CSS:
body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
}
The browser, will use Arial if its available, else it try to use Verdana if its available, after that it'll try the next font and the one after that etc. But it is not recommened for you to use non-standard fonts for text in webpages, however its fine for images.

However if you want to use a non-standard font you can do, but I forgotten the method

EDIT the method is called embeded fonts, using WEFT

#3 JA

JA
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 24 July 2006 - 11:04 PM

Yes, as if users don't have the font that you've used; they can't see it.

#4 Moron

Moron
  • Members
  • PipPipPip
  • Advanced Member
  • 368 posts

Posted 25 August 2006 - 05:26 PM

I've always gotten around this by making the text an image. I use the font/color/size I want in Windows Paint, then crop it out and make the background transparent with another program. That way, the text (image) will be presented in your page, whether the viewer has your font or not.


#5 syed

syed
  • Members
  • PipPipPip
  • Advanced Member
  • 151 posts
  • LocationEngland

Posted 25 August 2006 - 09:13 PM

Read this, hope it helps, webserver is appache http://xmlgraphics.a...20.5/fonts.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users