This is topic Calling all web gurus in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=025438

Posted by Jon Boy (Member # 4284) on :
 
How in the heck do you embed a font in a web page? I'm trying to find out how, and I'm having a hard time finding any sort of useful information online. Can anyone help?
 
Posted by BYuCnslr (Member # 1857) on :
 
You should use CSS, which is easy enough check out this how-to.
You'll need to put this in your head area:
code:
<head>
<style type="text/css">
body { font-family: font here }
</style>
</head>

Satyagraha

[ June 24, 2004, 11:28 PM: Message edited by: BYuCnslr ]
 
Posted by fugu13 (Member # 2859) on :
 
I believe he's asking how to embed a font, not specify a font.

The short answer is: don't.

the long answer is: don't, its not cross platform, its complicated, it has significant legal issues in most cases, and its bad web design. To make more explicit the last point, many people specify the fonts their browser should use for readability reasons. Telling their web browser to download a different font (which can override the settings) and use that instead is impolite.
 
Posted by TomDavidson (Member # 124) on :
 
Jon Boy, you DON'T embed a font. You pick a font everybody has, or you make the thing you want to display into an image.
 
Posted by Jon Boy (Member # 4284) on :
 
Okay. That's what I was afraid of. Thanks.
 
Posted by fugu13 (Member # 2859) on :
 
And you only do the image thing if its absolutely necessary, and not to content paragraphs or else you'll piss off a lot of people (non-standard browser sizes, browsers that have problems displaying images, people who have bad near eyesight and crank the font size up (a lot of people), et cetera).
 
Posted by Jon Boy (Member # 4284) on :
 
Oh, no, I would never do whole paragraphs as graphics. Just some headings.
 
Posted by weezer (Member # 6643) on :
 
Yes, JonBoy, I know how much that would cramp your style. What has it been now? Sixteen, almost seventeen years we've known each other.

*"Penny Lane" begins to play in background"

[ June 25, 2004, 05:36 PM: Message edited by: weezer ]
 
Posted by BYuCnslr (Member # 1857) on :
 
Ooohhh...embed. I agree with Fugu and Tom, don't...if you really do need to, use a non-standard font, make as few text images as humanly possible, the webpage I've been forced to make requires an adobe font for all the titles...it's not fun because you have go through make them, and then make sure that the transparencies work because gifs, though useful, are still inferior to png which gets rendered in pretty much every graphical browser except the most popular Internet Explorer because it doesn't render alpha transparencies without you going through and doing CSS trickery...it's really annoying (if you haven't noticed, I'm very bitter about this), I suggest finding a stnadard font that looks like it and stick with that.

(btw, anyone know a good fix to get IE to render alpha transparencies correctly?)

Satyagraha
 
Posted by fugu13 (Member # 2859) on :
 
Its worth pointing out in this thread that you can specify multiple font names after font family. Usually one names the font one wants (no matter how esoteric), then a solid acceptabl font that's a little uncommon, then a common font which almost always works, then either serif or sans-serif as a last fallback resort.
 
Posted by Jon Boy (Member # 4284) on :
 
quote:
Yes, JonBoy, I know how much that would cramp your style. What has it been now? Sixteen, almost seventeen years we've known each other.
*squints*

Who are you? The only person I've known that long (but not longer) is [dun dun dun] my sister.
 
Posted by weezer (Member # 6643) on :
 
Aye; 'tis I, your one and only kid-sister. [Evil Laugh]

[ June 25, 2004, 07:26 PM: Message edited by: weezer ]
 
Posted by Jon Boy (Member # 4284) on :
 
Oh, great. Now all of Hatrack is going to be calling me Jonbert.
 
Posted by weezer (Member # 6643) on :
 
You used that name here first.
 
Posted by Jon Boy (Member # 4284) on :
 
What? You started calling me that just recently. Goober. Don't make me drive up there and noogie you.
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2