Jump to content

Server-based font with absolute URL won't 'show'.


Recommended Posts

Hi-I modified the example here: http://www.w3schools.com/cssref/css3_pr_font-face_rule.aspand it now resides here:http://home.pipeline.com/~datapool/EuroStyleFont-Test2.htmlBut the Eurostile font is NOT displayed by Firefox (8.0, 3.6.24 etc.).Instead I get Times-Roman whatever.Any ideas? Thanks for the help,BillPS, I will get to the MS EOT-format issue after I solve this.

Link to post
Share on other sites

A couple of things I noticed that are different1. .TFF is uppercase instead of lower case.2. It says to Include a font file somewhere on your server, and refer to it with CSS:

  • src: url('Sansation_Light.ttf')

If the font file is located at a different domain, use a full URL instead:

  • src: url('http://www.w3schools.com/css3/Sansation_Light.ttf').

since it is at your domain you should use the first example. I don't know if because the font is copyrighted if that makes a difference. It will be interesting to see the responses. best of luckdink

Link to post
Share on other sites

Thanks for your help.The font - with uppercase file extensions - isinstalled on two, local PCs and works fine.It is a private font - not available from Google but Fonts.com(my 2007 Vista laptop has it dated 2003). The full URL 'pointer' is to a testbed and not the final website. Still I thinkthe browser should be able to find it given the 'PATH'. TBC, Bill

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...