PDA

View Full Version : problems with fonts in html


Slinx
May 14th, 2008, 07:15 PM
I have a site, and I have a couple of custom fonts that I had to install on my computer.

On my computer, I can see the site perfectly with the custom font, but on a different computer, they will not be able to see the font.

But I though that they would be able to see the font even if they don't have the font install on the computer, am I right? Is there anything I can do to fix that? Or does all the website has to made with stock fonts so that everyone can see them?

Buzz
May 14th, 2008, 08:21 PM
No. In order for a font to work it must be installed on the computer. Do not use non-standard fonts on a web page. Ever. Stick to Verdana, Georgia, Arial, Helvetica, Times, Times New Roman, Courier, etc.

Slinx
May 14th, 2008, 09:01 PM
actually I found it, you need to put the font on the webpage. the link bellow explains everything

http://www.ssi-developer.net/design/embed-font.shtml

Buzz
May 15th, 2008, 03:49 AM
Did you read?

This method works in IE5 & IE6 but is not supported by Firefox/Opera.

There's no point in it. 50% of web browsers won't see it.

Wickham
May 15th, 2008, 06:41 AM
Choose from these web safe fonts:-
http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html

There is also a method of installing a special font on someone's computer using a combination of javascript and flash, but it takes time to download and only works on the parts of your page that you have designated. It's not a good idea to use it for lots of text, but might be acceptable just for a heading or logo. I can't remember the site's name where you can get the script.

Edit: this is the site:-
http://www.mikeindustries.com/blog/sifr/

It looks complicated so don't use it unless you are sure you want to.

Viewers without Flash or javascript enabled see a standard font.

I'ver never used the script so I can't recommend it.

Slinx
May 15th, 2008, 12:41 PM
so the script downloads the font on their computer? how safe is that? lol you could make a script that downloads a keylogger to their computer.. lol but thx anyways everyone, i'm probably gonna stick with stock fonts