blob: 53cd2829c378a190ce11c3b6667936de52192c5f [file] [log] [blame]
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
Thus, the OpenType Sanitiser (OTS) is designed to parse and serialise OpenType
files, validating them and sanitising them as it goes.
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.