Proper MIME type for fonts

Posted by David Hedlund on Stack Overflow See other posts from Stack Overflow or by David Hedlund
Published on 2010-05-20T07:09:08Z Indexed on 2010/05/25 18:31 UTC
Read the original article Hit count: 667

Filed under:
|

Searching the web, I find heaps of different suggestions for what the proper MIME type for a font is, but I have yet to try any MIME type that rids me of a Chrome warning such as the following:

Resource interpreted as font but transferred with MIME type font/otf

The font is an OTF.

I've tried the following MIME types so far

  • font/otf
  • application/font-otf
  • application/font
  • application/otf
  • application/octet-stream
  • application/x-font-otf
  • application/x-font-TrueType (I know it's not truetype, but one source quoted this for OTF)

© Stack Overflow or respective owner

Related posts about mime

Related posts about font