Results 1 to 6 of 6

Thread: site specific fonts

  1. #1
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default site specific fonts

    Wasn't sure what title to give this or whether this is a css or javascript question.

    How can I use a non-standard font on my website and have it viewable by others without using an image?

    Here is an example: http://typekit.com/
    Last edited by james438; 07-27-2011 at 05:15 PM.
    To choose the lesser of two evils is still to choose evil. My personal site

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I've used FLIR before: http://facelift.mawhorter.net/

    1.2 for php4
    2.0 beta 3 for php5
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    james438 (07-27-2011)

  4. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    This page seems to have the relevant information:
    http://www.howtoplaza.com/how-to-use...bsite-with-css

    I have not used this much so I am not sure about compatibility issues, but it should at least work on many machines.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. The Following User Says Thank You to djr33 For This Useful Post:

    james438 (07-27-2011)

  6. #4
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Thanks for the links. They are both helpful. I am going to post in the css forum for further help with @font-face.
    To choose the lesser of two evils is still to choose evil. My personal site

  7. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Remember that it will revert to whatever other fonts you have listed if for some reason one doesn't load. So you can get most browsers to at least look somewhat close to what you want (such as serifs or sans serifs), and all browsers will display the text in one form or another.
    Aside from compatibility, the main problem with this method is that it only works with .ttf font files (I think) so that's somewhat limiting.

    If you absolutely need a font you'll need to use images, or potentially flash.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #6
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Aside from compatibility, the main problem with this method is that it only works with .ttf font files (I think) so that's somewhat limiting.
    There is a link in the page you suggested for getting it to work in IE, (which apparently only allows for the .eot format prior to IE9), which works pretty well.

    The link Beverlyh gave allows for the quick generation of relevant images, which should work in a pinch if I can't get this to work.
    To choose the lesser of two evils is still to choose evil. My personal site

Bookmarks

Posting Permissions

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