chiark / gitweb /
Update media type for OpenType fonts.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 22 Apr 2018 19:12:07 +0000 (20:12 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 22 Apr 2018 19:12:07 +0000 (20:12 +0100)
application/font-sfnt has been deprecated in favour of, among others,
font/otf.

.htaccess

index 30452ca7f79207622a928a77f51a6a1e35257355..65cf82b75075d995cf62e61d4283df45ec6685c9 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,4 @@
 DirectoryIndex index.xhtml
 AddType application/xhtml+xml;charset=UTF-8 .xhtml
-AddType application/font-sfnt;outlines=CFF;layout=OTF .otf
+AddType font/otf;outlines=CFF .otf
 AddType application/vnd.font-fontforge-sfd .sfd