Webfont proposal by Tal and Erik

Tal Leming and Erik van Blokland worked on a solution. Its a good idea and I support it.

A quick overview of the fields from this new xml file:

  1. format – This defines the format of the data in the fontdata file. Required.
  2. name – The name of the font. Required.
  3. creationdate – The date this particular font file was created. Required.
  4. vendorname – Name of the vendor of the font. Suggested.
  5. vendorurl – URL for the vendor of the font. Suggested.
  6. designcredits – A list of designers of the font. Optional.
  7. license – A license for the font. Optional.
  8. licenseurl – URL to licensing info for the font. Optional.
  9. copyright – A copyright for the font. Optional.
  10. trademark – A trademark for the font. Optional.
  11. allow – A list of URLs allowed to use the font. Optional.
  12. description – Text describing the font. Optional.
  13. privatedata – Arbitrary, private information set by the vendor of the font. Font vendors could use this to include any data that they deem necessary. Optional.

The fontdata file would contain the actual font file. The name does not have an extension so that it can be format agnostic. The format of the font file is specified by the element in the info.xml file. Initially the only supported format would be “opentype”. (This covers both OTF-CFF and OTF-TTF.)

As stated above, these files would be compressed into a single file. We propose .zip as the compression format. If there is another compression format that would be easier for the browsers to implement, we are open to suggestions. An informal test showed an average 40% file size savings over the raw OpenType fonts.

ps. Peter Bilak is also working on another tool.

Jean François Porchez, 16 July 2009

webtype woff webfont css fontface eot ttf en typekit svg