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