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