posted
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?
Posts: 9945 | Registered: Sep 2002
| IP: Logged |
posted
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.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
posted
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.
Posts: 37449 | Registered: May 1999
| IP: Logged |
posted
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).
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
posted
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?)
posted
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.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
posted
What? You started calling me that just recently. Goober. Don't make me drive up there and noogie you.
Posts: 9945 | Registered: Sep 2002
| IP: Logged |