HTML & CSS
I want to use LindenHill font for my site.
So in css file I put:
src: url('lindenhill-webfont.eot?') format('eot'),
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?
I thought it's right url as they're stored where main index theme file is being stored...
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.
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.
OK, fair enough. It's just that this comment …
… 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?
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.
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?
I use utf-8 encoding.
Take a look at the picture attached.
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.
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.
Hhmm. You may be right. I guess I will have to change font.
Anyway thanks for help
This topic is now closed. New replies are no longer allowed.