Embedding a font?

Discussion in 'HTML & Website Design' started by math20, Nov 10, 2006.

  1. #1
    How do I embed a font into a html/css document so that it shows up looking the same on computers that don't have the font?

    It's been bugging me for a while and now I have a use for it so would really appreciate an answer, thanks!
     
    math20, Nov 10, 2006 IP
  2. nicknick

    nicknick Peon

    Messages:
    429
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    nicknick, Nov 10, 2006 IP
  3. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is this possible? i don't think you can do this. ;)
     
    daboss, Nov 10, 2006 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    The web is not print. You are at the mercy of the UA. There is an @import font property, but it has no current support—probably because it's a PITA for the user. In my case, a site imported to my UA a 5meg Chinese font. I was on a dialup connection at the time and thoroughly pissed at the nerve of some sorry web developer.

    If you want to specify as if for print, deliver a pdf or a word processor document. For small bits of text, use an image.

    cheers,

    gary
     
    kk5st, Nov 10, 2006 IP
  5. urbanstereotype

    urbanstereotype Peon

    Messages:
    595
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yup, it works, i used to do this alot when designing band websites.
     
    urbanstereotype, Nov 10, 2006 IP
  6. nicknick

    nicknick Peon

    Messages:
    429
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Or you could use Flash.
     
    nicknick, Nov 10, 2006 IP
  7. urbanstereotype

    urbanstereotype Peon

    Messages:
    595
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7
    well....that wouldn't be embedding fonts now would it? that would be using flash :rolleyes:
     
    urbanstereotype, Nov 10, 2006 IP
  8. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,126
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #8
    use uncommon font might help some, but it is always a good idea to add a few font types that are standard
     
    Corey Bryant, Nov 11, 2006 IP