• Home
Name Date Size #Lines LOC

..--

include/03-May-2024-310230

src/03-May-2024-12,9629,952

test/03-May-2024-3,8573,281

third_party/lzma_sdk/03-May-2024-5,1844,172

tools/03-May-2024-4536

.ignoresD03-May-202425 43

BUILD.gnD03-May-20241.8 KiB9589

INSTALLD03-May-2024864 3824

LICENSED03-May-20241.5 KiB2827

READMED03-May-2024884 2517

codereview.settingsD03-May-2024150 43

gyp_otsD03-May-2024983 3724

ots-common.gypiD03-May-20241.7 KiB8280

ots-standalone.gypD03-May-20244.3 KiB204202

ots.gypD03-May-2024836 4038

ots.target.darwin-arm.mkD03-May-20247.6 KiB292251

ots.target.darwin-arm64.mkD03-May-20247.1 KiB268227

ots.target.darwin-mips.mkD03-May-20247.2 KiB276235

ots.target.darwin-mips64.mkD03-May-20247.2 KiB276235

ots.target.darwin-x86.mkD03-May-20247.2 KiB280239

ots.target.darwin-x86_64.mkD03-May-20247.2 KiB278237

ots.target.linux-arm.mkD03-May-20247.6 KiB292251

ots.target.linux-arm64.mkD03-May-20247.1 KiB268227

ots.target.linux-mips.mkD03-May-20247.2 KiB276235

ots.target.linux-mips64.mkD03-May-20247.2 KiB276235

ots.target.linux-x86.mkD03-May-20247.2 KiB280239

ots.target.linux-x86_64.mkD03-May-20247.2 KiB278237

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