Web font not working in Safari

web font is being ignored in Safari…

get this in console:

Resource interpreted as Font but transferred with MIME type application/octet-stream.
with a little exclamation point…

I searched, but don’t understand the answers in all the SO threads that came up…
for example

np with web fonts in other browsers…

what is solution? thank you…

Not sure if this may help but it sounds like a mime-type issue.

thank you Paul…

but how do I solve this? why is only Safari having trouble with this?

thanks…

You need to try changing your server mime type in your configuration file.

e.g.
AddType application/x-font-ttf .ttf in apache configuration to specify mime type.

As mentioned in the links this problem can be browser specific and some will work and some won’t. It may not be the problem but is the first thing to try seeing as others have mentioned it.

Do you have a live site that we can test to see if it fails here.?

thank you Paul… that link is for Chrome… my prob is with Safari (np in Chrome…)

ok, will try what you said (am on local PHP env., don’t really use a config file… (that I know of…:wink:
certainly don’t use an .htaccess file… haven’t done much PHP yet, so far have a local site in env that comes with the mac, no .htaccess is necessary…) will look/find out if other config file(s) apply…

any info here would be helpful…

thank you…

Yes but chrome and webkit share some of the same codebase and the issue was present in chrome until it was updated which makes me think it is the same problem.

Put the site online and then you will know whether it is your local system that needs fixing or not.

I assume you have run your fonts through the font-squirrel generator and are using the syntax and format that the generator gives you?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.