| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| include/ | 03-May-2024 | - | 306 | 229 | ||
| src/ | 03-May-2024 | - | 12,814 | 9,862 | ||
| test/ | 03-May-2024 | - | 3,857 | 3,281 | ||
| third_party/lzma_sdk/ | 03-May-2024 | - | 5,184 | 4,172 | ||
| tools/ | 03-May-2024 | - | 45 | 36 | ||
| .ignores | D | 03-May-2024 | 25 | 4 | 3 | |
| INSTALL | D | 03-May-2024 | 864 | 38 | 24 | |
| LICENSE | D | 03-May-2024 | 1.5 KiB | 28 | 27 | |
| README | D | 03-May-2024 | 884 | 25 | 17 | |
| codereview.settings | D | 03-May-2024 | 150 | 4 | 3 | |
| gyp_ots | D | 03-May-2024 | 983 | 37 | 24 | |
| ots-common.gypi | D | 03-May-2024 | 1.6 KiB | 78 | 76 | |
| ots-standalone.gyp | D | 03-May-2024 | 4.2 KiB | 201 | 199 | |
| ots.gyp | D | 03-May-2024 | 836 | 40 | 38 | |
| ots.target.darwin-arm.mk | D | 03-May-2024 | 8.2 KiB | 331 | 280 | |
| ots.target.darwin-arm64.mk | D | 03-May-2024 | 7.5 KiB | 299 | 248 | |
| ots.target.darwin-mips.mk | D | 03-May-2024 | 7.8 KiB | 315 | 264 | |
| ots.target.darwin-x86.mk | D | 03-May-2024 | 7.7 KiB | 315 | 264 | |
| ots.target.darwin-x86_64.mk | D | 03-May-2024 | 7.7 KiB | 313 | 262 | |
| ots.target.linux-arm.mk | D | 03-May-2024 | 8.2 KiB | 331 | 280 | |
| ots.target.linux-arm64.mk | D | 03-May-2024 | 7.5 KiB | 299 | 248 | |
| ots.target.linux-mips.mk | D | 03-May-2024 | 7.8 KiB | 315 | 264 | |
| ots.target.linux-x86.mk | D | 03-May-2024 | 7.7 KiB | 315 | 264 | |
| ots.target.linux-x86_64.mk | D | 03-May-2024 | 7.7 KiB | 313 | 262 |
README
1Sanitiser 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 18Building: 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. 23 24[1] http://www.w3.org/TR/CSS2/fonts.html#font-descriptions 25