Webfont proposal by Tal and Erik
A quick overview of the fields from this new xml file:
- format – This defines the format of the data in the fontdata file. Required.
- name – The name of the font. Required.
- creationdate – The date this particular font file was created. Required.
- vendorname – Name of the vendor of the font. Suggested.
- vendorurl – URL for the vendor of the font. Suggested.
- designcredits – A list of designers of the font. Optional.
- license – A license for the font. Optional.
- licenseurl – URL to licensing info for the font. Optional.
- copyright – A copyright for the font. Optional.
- trademark – A trademark for the font. Optional.
- allow – A list of URLs allowed to use the font. Optional.
- description – Text describing the font. Optional.
- 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.