README
1OpenType Sanitizer
2==================
3
4The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF)
5and WOFF and WOFF2 font files, validating them and sanitizing them as it goes.
6
7The C library is integrated into Chromium and Firefox, and also simple
8command line tools to check files offline in a Terminal.
9
10The CSS [font-face property][1] is great for web typography. Having to use images
11in order to get the correct typeface is a great sadness; one should be able to
12use vectors.
13
14However, on many platforms the system-level TrueType font renderers have never
15been part of the attack surface before, and putting them on the front line is
16a scary proposition... Especially on platforms like Windows, where it's a
17closed-source blob running with high privilege.
18
19Installation
20------------
21
22See [INSTALL][2]
23
24Usage
25-----
26
27See [docs][3]
28
29* * *
30
31Thanks to Alex Russell for the original idea.
32
33[1]: http://www.w3.org/TR/CSS2/fonts.html#font-descriptions
34[2]: https://github.com/khaledhosny/ots/tree/master/INSTALL
35[3]: https://github.com/khaledhosny/ots/tree/master/docs/
36
README.chromium