blob: b74d51979c47f0d7c67db59841a04fa30c06e7eb [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
18This is just an initial release. Do not use it in anger yet.
19
20[1] http://www.w3.org/TR/CSS2/fonts.html#font-descriptions