Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default css - file for font

    How do you use a custom font for for your style for a page?
    So the font is:
    FontFile.ttf

  2. #2
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Didn't think you could, unless the viewer has that font.

    PHP GD?


  3. #3
    Join Date
    Mar 2008
    Location
    Cardiff, S. Wales
    Posts
    536
    Tokens
    0

    Default

    GD is for images I do believe.
    Jack you can't, I don't think?

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by L?KE View Post
    Didn't think you could, unless the viewer has that font.

    PHP GD?
    Quote Originally Posted by iTech View Post
    GD is for images I do believe.
    Jack you can't, I don't think?
    The reason im doing this is because GD was playing up

    Oh well, ill just use Verdana. Its as good as any.

  5. #5
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    CSS3 has this in.

  6. #6
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Their were many way, most of the known ones are not unsupported.
    Your best bet nowadays is GD, which needs to be installed onto your server.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  7. #7
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

    Default

    use sIFR. It's the best solution as it is also SE friendly as opposed to it being images it appears to the search engines as plain text.

  8. #8
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by iTech View Post
    GD is for images I do believe.
    Jack you can't, I don't think?
    Yes, it is.
    So you'd create a block of text as an image...


  9. #9
    Join Date
    Mar 2008
    Location
    Cardiff, S. Wales
    Posts
    536
    Tokens
    0

    Default

    Quote Originally Posted by L?KE View Post
    Yes, it is.
    So you'd create a block of text as an image...
    That's a mistake on my behalf.

  10. #10
    Join Date
    Aug 2005
    Location
    Newcastle
    Posts
    1,417
    Tokens
    0

    Latest Awards:

    Default

    In the space of two seconds to type "css custom font" in google I have found your answer.

    Quote Originally Posted by albinoblacksheep.com
    Embed a Custom Font in Internet Explorer

    To embed a custom font, let me show you the code first, and then explain what you have to do to get the code to work correctly.

    I advise you to place this code between the <style type="text/css"> </style> tag set in the head of the document.

    Code:
        @font-face {
        font-family: newfontname;
        font-style: normal;
        src: url(newfontname.eot);
        }
    You have now defined a new font-face that you can use throughout your CSS document like any other font, but before this takes effect, you must encode and upload the .eot file which stands for Embedded Open Type format. To do this, download Microsoft's Web Embedding Font Tool at http://www.microsoft.com/typography/WEFT.mspx

    In your code, you will also need to change "newfontname" to the name of your font, and you can include a path to find the font.



Page 1 of 2 12 LastLast

Posting Permissions

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