is @font-face server dependant

Posted by samquo on Stack Overflow See other posts from Stack Overflow or by samquo
Published on 2010-12-23T18:50:40Z Indexed on 2010/12/23 18:54 UTC
Read the original article Hit count: 162

Filed under:
|

Not sure if this has something to do the live host I'm working with, but I'm using @font-face in the following format,

@font-face {
    font-family: 'UbuntuTitle';
    src: url('Ubuntu-Title-webfont.eot');
    src: local('?'), url('Ubuntu-Title-webfont.woff') format('woff'), url('Ubuntu-Title-webfont.ttf') format('truetype'), url('Ubuntu-Title-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

I'm finding though that I can't save the document because of the strange character in () in local local('?') so I save it as UTF-8, but that changes the character to this local('☺'). Could that be the reason why it's not being picked up on the server? Any other possibilities?

© Stack Overflow or respective owner

Related posts about css

Related posts about font-face