SitePoint Sponsor

User Tag List

Results 1 to 13 of 13

Thread: font use

  1. #1
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    font use

    Hi,
    I want to use LindenHill font for my site.
    So in css file I put:
    HTML Code:
    @font-face {
        font-family: 'LindenHillRegular';
        src: url('lindenhill-webfont.eot?') format('eot'),
             url('lindenhill-webfont.woff') format('woff'),
             url('lindenhill-webfont.ttf') format('truetype'),
             url('lindenhill-webfont.svg#webfont0EEWdT01') format('svg');
        font-weight: bold;
        font-style: bold;
    
    }
    And in theme ctalogue (it's wordpres) I put all formats of this font (eot, svg, wof, True Type).
    But I still can't get this font work properly.
    What can be the problem?
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by snecz View Post
    url('lindenhill-webfont.woff')
    in theme ctalogue (it's wordpres) I put all formats of this font
    It doesn't sound like the url link above is right then. The url link needs to point to where the fonts are actually stored.

  3. #3
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought it's right url as they're stored where main index theme file is being stored...
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by snecz View Post
    I thought it's right url as they're stored where main index theme file is being stored...
    It will only be the right path if they are stored in the same folder as your CSS file.

  5. #5
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    It will only be the right path if they are stored in the same folder as your CSS file.
    And that's true. They're where style.css file is placed.
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    OK, fair enough. It's just that this comment

    Quote Originally Posted by snecz View Post
    I thought it's right url as they're stored where main index theme file is being stored...
    left me wondering about that. It was the most obvious thing to ask first.

    So what does 'not working properly' mean? You need to explain that a bit more. Also, how many browsers have you checked? Do you have a live link?

  7. #7
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm working locally.
    The problem is with Polish signs (ś, ć, etc)
    Actually it looks quite nice with Opera but not good in FF and IE.
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  8. #8
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by snecz View Post
    The problem is with Polish signs (ś, ć, etc)
    Hmm, could it be an issue of character encoding rather than fonts? Hard to say. Again, 'not good in FF and IE' is too vague. What does that mean? Do the characters not show up at all, or …? Without being able to look over your shoulder here, we are blind. We will only know what you tell us, so be specific.

    Are you using utf-8 encoding?

  9. #9
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use utf-8 encoding.
    Take a look at the picture attached.
    Attached Images Attached Images
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  10. #10
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Does LindenHillRegular actually include those characters? If not, the browser will have to find them from another font on your computer. What browser is that a screen shot of, and how does it compare with what you see in grand ole Opry?

  11. #11
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Does LindenHillRegular actually include those characters? If not, the browser will have to find them from another font on your computer. What browser is that a screen shot of, and how does it compare with what you see in grand ole Opry?
    I don't know.
    But I checked it on Font Squirrel | Free Font Linden Hill by Barry Schwartz
    and it looks nice (take a look at the picture attached).
    In Opera it looks a little better but still that's not how it should look like.
    Attached Images Attached Images
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  12. #12
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,596
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Looking at the character map for that font, it doesn't seem to include the characters you are having trouble with, so I think that's the problem. The test drive feature makes it look like the characters are available, but that test drive generates an image, not real text, so I doubt it is very reliable.

  13. #13
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hhmm. You may be right. I guess I will have to change font.
    Anyway thanks for help
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW


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
  •