PDA

View Full Version : html fonts



SBuskell
December 17th, 2003, 05:20 AM
Hi all,

I have a client who wants a page to be generated in html but also wants the text to be in a font of his choosing.

He says that he knows a guy who knows some script that checks if the user has the font used and if not replaces the text on the page with the closest substitute.

Can anyone shed a little light on this for me?

I thought u just had control over serif or sans-serif.

Thanks. :pleased:

APDesign
December 17th, 2003, 10:28 AM
I thought you can embed fonts in sites now.....

senocular
December 17th, 2003, 10:36 AM
I think its an IE only thing. (I havent read about doing that in a few years though sop Im not sure)

SBuskell
December 17th, 2003, 11:02 AM
Thanks APDesign. That sounds pretty much ideal...


...any idea how?

APDesign
December 17th, 2003, 11:36 AM
Well.. like Senocular I looked into a couple years ago and never really got to into it because I never needed to. I just googled "Embed Fonts" and came up with a ton of results, here is one that looks promising.

http://hotwired.lycos.com/webmonkey/design/fonts/tutorials/tutorial2.html

I would suggest just doing what I did and do some googling to find out the pros and cons/limitations etc. Good luck. :thumb:

λ
December 17th, 2003, 11:50 AM
You can do this with CSS...


<span style="font-family:Georgia, Times, serif;">text</span>

APDesign
December 17th, 2003, 11:53 AM
Doing that will first try to use georgia, then try to use times?

senocular
December 17th, 2003, 11:53 AM
Originally posted by APDesign
Well.. like Senocular I looked into a couple years ago and never really got to into it because I never needed to. I just googled "Embed Fonts" and came up with a ton of results, here is one that looks promising.

http://hotwired.lycos.com/webmonkey/design/fonts/tutorials/tutorial2.html

I would suggest just doing what I did and do some googling to find out the pros and cons/limitations etc. Good luck. :thumb:

oh look at that, netscrape could do it too :) good find AP

Yeldarb
December 17th, 2003, 11:58 AM
haha "netscrape" lol

λ
December 17th, 2003, 01:34 PM
Originally posted by APDesign
Doing that will first try to use georgia, then try to use times?

Yeah, and if neither are found, it will use the standard serif font :)

SBuskell
December 18th, 2003, 03:47 AM
thats excellent APDesign! Just what I was after. Thanks loads.