Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts

    Question Embedding a Font Within a Page

    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

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post

    embedded

    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?

  • #3
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts

    Re: embedded

    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

    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...

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    -27° 28' 22" , 153° 1' 22"
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    "Computers are considered female - As soon as you make a commitment to one, you find yourself spending half your paycheck on accessories for it."

  • #5
    New Coder
    Join Date
    Dec 2002
    Location
    Florida
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Bacterozoid,

    I think I know what you mean, taking fonts from url sources. Take a look here and it will explain about everything for you.

    MrDoubtFire

  • #6
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts
    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!

  • #7
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post
    Cool! I learned something new.

  • #8
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts
    Congratulations Tails. 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.

  • #9
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post

    learning

    I see. Somewhere in that hundreds range, I'll be a regular too.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •