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