@font-face warning
Posted by gregster on 15 Jun 2010 in Activity log
I'm using @font-face to make use of fancy fonts, but I've been receiving the following error in Chrome:
Resource interpreted as font but transferred with MIME type application/octet-stream
You can fix it by inserting this in your .htaccess file:
AddType font/ttf .ttf
This covers TrueType fonts only. If you want to cover all your bases, add stanzas for eot and otf fonts as well:
AddType application/vnd.ms-fontobject .eot AddType font/otf .otf