W3C home > Mailing lists > Public > www-style@w3.org > April 2015

RE: Font MIME types

From: Levantovsky, Vladimir <Vladimir.Levantovsky@monotype.com>
Date: Mon, 6 Apr 2015 14:07:09 +0000
To: Anne van Kesteren <annevk@annevk.nl>, David Kuettel <kuettel@google.com>
CC: John Hudson <john@tiro.ca>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <1fe8aad92b054448936dd720ac9f5849@wob-maildb-03.agfamonotype.org>
Hi Anne, all,

The WebFonts WG believes that the official IANA registration for top-level "font" type is the way to go. If successful, all font subtypes would automatically fall under the "font" type. The reason for this new registration is to make use and declaration of the font MIME types intuitive, so that even if a clueless person were going to use e.g. an OTF font and decided to label it "font/otf" (font/woff for WOFF, font/ttf for TTF, etc.) he would end up been doing the right thing without ever knowing.

As of right now, the proposed application draft attempts to define the following subtypes:
- font/sfnt - generic type for anything wrapped into SFNT format with additional optional parameters identifying type of outlines and supported layout mechanism;
- font/ttf;
- font/otf;
- font/woff;
- font/woff2

The WG believes that having the font MIME types defined is orthogonal to how they are used and recognized by the browsers - until now we didn’t really have MIME types for fonts so the current experiences are no indication  of what is in store for the future uses.

Thank you,

-----Original Message-----
From: Anne van Kesteren [mailto:annevk@annevk.nl] 
Sent: Saturday, April 04, 2015 2:53 AM
To: David Kuettel
Cc: John Hudson; www-style@w3.org; Levantovsky, Vladimir
Subject: Re: Font MIME types

On Fri, Apr 3, 2015 at 8:18 PM, David Kuettel <kuettel@google.com> wrote:
> Web Font Media Type Analysis 2015
> http://goo.gl/zbDhUN

David, John, this looks great. We could take the top contenders perhaps and use those as a whitelist for when X-Content-Type-Options:
nosniff is deployed. Where do you think the best place for such a font MIME types list would be?


Received on Monday, 6 April 2015 14:07:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC