...

View Full Version : Embedding a Font Within a Page



bacterozoid
12-10-2002, 11:57 PM
Well, I read somewhere a bit ago that briefly mentioned the capability to embed fonts within a web page. Does this go as simple as uploading the desired font onto the server, or is there more to it than that?

Thanks

Tails
12-11-2002, 12:22 AM
I think you are refering to embedded or "nested" tags. For example, you can have this:

<FONT color="red">red text <FONT size="+2">Font is bigger, but still red</FONT> Plain small red text again.</FONT>

Tags can be nested to have both effects. Just remember to end all your tags properly. This would save you some space rather than typing:

<FONT color="red">red text</FONT><FONT size="+2" color="red">Font is bigger, but still red</FONT><FONT color="red">Plain small red text again.</FONT>

See how the top is simpler?

bacterozoid
12-11-2002, 12:30 AM
Originally posted by Tails
I think you are refering to embedded or "nested" tags. For example, you can have this:

Erg, well actually, I wasn't. I know about all that stuff, mastered it a long time ago. But thanks for the help :thumbsup:

As to clarify myself: Font family/face. Let's say for example I want my web page to display in the font Papyrus. Now, what if I'm the only one in the entire world with this font on my computer (for the sake of the example). How do I enable other visitors to view the text on my page in Papyrus font, without them having to download the font (through a link) onto their computer.

Maybe this is a post for the JS forum...

JustAsking
12-11-2002, 12:31 AM
Currently there are twotypes of font formats you can embed into a web page, Embedded OpenType (.eot file) for IE browsers, and TrueDoc (.pfr file) for Netscape browsers


Check out this tutorial from webmonkey about embedding fonts into a web page.

http://hotwired.lycos.com/webmonkey/99/45/index0a.html

MrDoubtFire
12-11-2002, 12:37 AM
Bacterozoid,

I think I know what you mean, taking fonts from url sources. Take a look here (http://www.netmechanic.com/news/vol3/css_no15.htm) and it will explain about everything for you.

MrDoubtFire

bacterozoid
12-11-2002, 12:43 AM
Yes indeed, both of those web sites were equally useful...one for how to use a program for conversion, and the other how to download the font and such. I don't know that I would be willing to sacrifice the load time for a font. Well, some light on this situation. :) Thank you!

Tails
12-11-2002, 12:49 AM
Cool! I learned something new.

bacterozoid
12-11-2002, 12:53 AM
Congratulations Tails. :thumbsup: You learn something new just about every day on here...if you're like some of us junkies and are on this site half the day, heh. It's all part of learning.

Tails
12-11-2002, 01:35 AM
I see. Somewhere in that hundreds range, I'll be a regular too.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum