On May 6, 2011, at 2:39 AM, Nancy Johnson wrote:

> We are using @font-face...

A URL would be useful to help debugging…

> 
> The font we are using is an open source font from Google
> http://www.google.com/webfonts/family?family=Nobile#set
> I don't know how it was converted to .eot, .woff or .svg as these came
> to us already converted.
> 
> This is the code that is used, the path is correct
> 
> @font-face {font-family: 'Nobile';
> src:
> url('font/nobile/nobile-webfont.eot');
> src:
> url('font/nobile/nobile-webfont.eot?#iefix') format('embedded-opentype'),
> url('font/nobile/nobile-webfont.woff') format('woff'),
> url('font/nobile/nobile-webfont.ttf') format('truetype'),
> url('font/nobile/nobile-webfont.svg#NobileRegular') format('svg');
> font-weight: normal;font-style: normal;}

You don't need the first line 
> src:
> url('font/nobile/nobile-webfont.eot');

http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax


> Tried already:
> src: local:  instead

src: local(local-name-of-font-here) only works when the font is installed on 
the machine (and IE < 9 doesn't understand it anyway).


> on this line  I tried changing  this
> url('font/nobile/nobile-webfont.eot?#iefix') format('embedded-opentype'),
> to
> url('font/nobile/nobile-webfont.eot?iefix') format('eot'),
> 
> also using an absolute path to the font instead of relative path.

So what is the problem, and what version(s) of IE are affected ?
(and if your site is on a IIS server, you may need to add a mime type for the 
woff file, according to the article linked above).

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to