W3C home > Mailing lists > Public > www-font@w3.org > October to December 2010

Explicit WOFF metadata format declaration?

From: Laurence Penney <lorp@lorp.org>
Date: Thu, 18 Nov 2010 16:36:48 +0100
Message-Id: <A70DE220-9F73-410E-A1FA-A62D08B5541F@lorp.org>
To: www-font@w3.org
Is there any merit in the idea of a 'format' attribute in the root <metadata> element?

I ask because it seems likely that WOFF XML metadata will find itself sometimes separated from the WOFF files for which it is intended. For example, XML may be exported from an editor before being imported into a WOFF font via sfnt2woff; or font vendors may use an XML template file, which has some of its contents replaced programmatically before being embedded into a WOFF. In such cases it  seems beneficial to identify the XML, unambiguously, as WOFF metadata. The generic <metadata> tag is insufficient for this.

If this proposal is attractive, I propose the standard value "font/woff" for the format attribute. It would be a MAY not a MUST in the spec, of course.

- L
Received on Thursday, 18 November 2010 15:37:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:35 UTC