There are a lot of discussions on going on regarding web fonts. Ascender would like to propose a solution to the issue of web fonts that we meets the needs of web designers, the font community, and browser developers.

OVERVIEW

As the web evolves, web developers want to use a broader selection of high quality, commercial fonts in their websites. The @font-face feature in CSS gives web designers the option to link to and download a font from a web server. However almost all commercial fonts are licensed only for desktop use, under licenses that do not allow posting to web servers. This document offers a solution for both free and commercial fonts to be used as web fonts.

THE PROBLEM
Commercial font developers are unwilling to allow their fonts, licensed for use on desktops, to be posted on the web. Desktop font licenses restrict redistribution and limit the number of users. Server licenses prohibit licensees from placing fonts on servers that others can directly access.

Most font developers believe that without a technological check-point (even a simple one), that web developers and server owners will not understand that they may not simply copy a font from a workstation and use it on the web. Further, many are concerned about ‘deep linking/inline linking’ by unlicensed third parties.

High quality typography on the web will never reach its full potential unless the needs of web designers and font developers are addressed. This solution is easy for designers to use and for browser makers to implement and can be scaled from single page blogs to large corporate web sites. Our solution is also free of proprietary and patent roadblocks, and most importantly is, in our opinion, acceptable to font developers wishing to minimize unauthorized use and uncontrolled re-distribution of their font software.

BACKGROUND
The term ‘Web Fonts’ refers to the enhanced font capabilities introduced in the CSS2 specification, including the ability for font files to be downloaded from Web servers and used to render Web content. CSS2 became a W3C recommendation on 12 May 1998.

Microsoft Internet Explorer and Netscape Navigator were the first browsers to support font downloading with @font-face in 1997. Both browsers used a different proprietary font format for Web Fonts. IE used Embedded OpenType (EOT) and Navigator used PFR, but neither of these formats was widely adopted, primarily due to lack of interoperability. In 2007 Apple’s Safari browser introduced support for downloading ‘raw’ TrueType (.ttf) fonts. Since then Mozilla (FireFox), Google Chrome and Opera have all introduced or announced Web Fonts support for downloading ‘raw’ TrueType and OpenType (.otf) fonts. Internet Explorer has continued to support EOT, and has so far not implemented support for downloading ‘raw’ TrueType or OpenType fonts due to the serious issues and concerns raised by font developers.

CURRENT SITUATION
Currently there are two different @font-face implementations:
  • Using regular desktop OpenType and TrueType fonts posted to a web server
  • Converted and compressed fonts in the EOT (Embedded OpenType) format
While the use of regular desktop fonts is technically simple and is analogous to the posting of images, video, or music files to the Web, no commercial font vendors have shown interest in licensing fonts under this scheme. So the problem with the ‘raw fonts’ scheme can be identified as:

Almost all current commercial font licenses prohibit such use, effectively limiting the scheme to freeware and open source fonts.

EOT is somewhat more complex, and requires that fonts be converted into the Embedded OpenType format and be restricted to use on a set of URLs (pages, subroots or domains) encoded within the EOT file. Optionally the EOT format allows for compression, with tools compressing and subsetting fonts by default. For this reason most of the EOTs currently deployed are subsetted and/or compressed. These features appeal to some font developers and some Web designers, however the format has been criticized on several fronts…

  • As a Microsoft-centric technology first implemented in IE4 it gives Microsoft browsers an unfair advantage.
  • The compression uses patented Agfa (now Monotype Imaging) technology.
  • The URL binding mechanism is similar to DRM schemes, opposed by free software activists.
  • The URL binding mechanism (with or without subsetting) is too burdensome for larger site operators.


PROPOSAL: A NEW WEB-SPECIFIC FONT FORMAT
Ascender, in consultation with various stakeholders, has formulated a solution that addresses the browser makers concerns around IP, DRM and simplicity, and also the concerns of type designers.

We propose a new web font format to replace both raw fonts and EOT. The benefit of a new web-specific font format is to ensure that all fonts, both free fonts and commercial fonts, can be used on web sites.
 
There are five aspects to the proposed web-specific font format:

  • Subsetting: This is an important feature for Pan-European and non-Latin fonts which often have large character sets.
  • Obfuscation: By obfuscating the font it creates a simple barrier to unauthorized font usage. We recommend a very simple change to the existing OpenType format: that a table directory entry be renamed, effectively rendering the font file unusable as a system font, since current operating systems will not recognize the font glyphs without a properly named table directory entry. As part of compliant support for the format, the user agent (browser) would simply change the obfuscated tag back to normal and temporarily install and use the font.

There are three different table directories that would change based on whether the OpenType font contained TrueType outlines, PostScript outlines, or bitmap glyphs:
Outline Format     Original Table      Proposed OTW table name
TrueType           ‘glyf’                    ‘OTWT’
PostScript          ‘CFF’                   ‘OTWO’
Bitmap              ‘EBDT’                 ‘OTWB’

  • File Extension: web fonts would have a different file extension (we propose ‘OTW’) to differentiate them from desktop fonts.
  • Same-origin restrictions: It is expected that some font vendors licensing web fonts under this proposal will require some form of control to address the issue of inline linking, hotlinking or cross-site http requests. This is needed to prevent unlicensed websites from accessing commercial fonts on licensed web servers.
  • License information: The ‘License Description’ field in a TrueType/OpenType font can be used to describe how the font can be used. Font Vendors could also add information about the specific licensee if desired. The ‘PERM’ table proposed by David Berlow could also be added to fonts to specifically address the license permissions which the font vendor grants to its customers. Ascender supports either option. The effect of either option is to allow users and font vendors to better control how the font files are deployed, and importantly, will help communicate the need to obtain a license for a commercial font for web use. Enforcement would be the responsibility of the font vendor and not the browser or authoring tool, although font vendors would greatly appreciate any support offered by browsers in communicating the need to obtain licenses.
Note 1: any customer identification included in font data would adhere to privacy laws.

Note 2: the license will be clear with regard to rights granted to the user agent to use the OTW data, and in particular that it may be temporarily installed/cached in a system-consumable format (TTF/OTF) on the final destination machine.

CREATING OTW FONTS
Once a specification is defined, it is envisioned that tools would be quickly be available to convert raw TTF and OTF fonts into OTW fonts. Free fonts could be converted by their original designers or the community. Sites like the Open Font Library or Dafont could post web-specific fonts for users to download to use with their websites. Commercial font websites could also create OTW fonts for users to purchase a license for website use.
 
SUMMARY
We propose that raw .TTF and .OTF fonts, and .EOT fonts be replaced by a new web-specific font format (termed ‘.OTW’) for use with websites. This approach will ensure that all web fonts are specifically made for web use. We expect tools will be developed to allow font developers to create web fonts in the .OTW format. This new format addresses the needs of web designers, the desires of the free font community, the concerns of commercial font vendors, and the objections of browser companies.

NEXT STEPS
Who is willing to support this proposal?