Home | History | Annotate | Download | only in ots
      1 Sanitiser for OpenType
      2 ----------------------
      3 
      4 (Idea from Alex Russell)
      5 
      6 The CSS font-face property[1] is great for web typography. Having to use images
      7 in order to get the correct typeface is a great sadness; one should be able to
      8 use vectors.
      9 
     10 However, the TrueType renderers on many platforms have never been part of the
     11 attack surface before and putting them on the front line is a scary proposition.
     12 Esp on platforms like Windows where it's a closed-source blob running with high
     13 privilege.
     14 
     15 Thus, the OpenType Sanitiser (OTS) is designed to parse and serialise OpenType
     16 files, validating them and sanitising them as it goes.
     17 
     18 Building:
     19 
     20 The included ots.gyp file is for building within the Chromium only. In the
     21 test/ directory you'll find a SConstruct file which can be used with scons to
     22 build a standalone version.
     23 
     24 [1] http://www.w3.org/TR/CSS2/fonts.html#font-descriptions
     25