1OTS-SANITIZE(1) User Commands OTS-SANITIZE(1)
2
3
4
6 ots-sanitize - font validator and transcoder
7
9 ots-sanitize [OPTIONS]... FONT_FILE [DEST_FONT_FILE] [FONT_INDEX]
10
12 ots-sanitize is a program which validates and/or transcodes a font file
13 using the OTS library.
14
15 The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF,
16 TTF) and WOFF and WOFF2 font files, validating them and sanitizing them
17 as it goes.
18
19 --quiet
20 do not display information or error messages
21
22 --version
23 output version information and exit
24
26 Sanitize a sample and save it to another file:
27
28 $ ots-sanitize sample.otf transcoded_sample.otf
29 File sanitized successfully!
30
31 Try to sanitize a malformed file:
32
33 $ ots-sanitize malformed.ttf
34 WARNING: bad range shift
35 ERROR at src/ots.cc:670 (ProcessGeneric)
36 Failed to sanitize file!
37
39 Report bugs to <https://github.com/khaledhosny/ots/issues>
40
42 ots-idempotent(1), ots-perf(1), ots-side-by-side(1), ots-validator-
43 checker(1)
44
45
46
47OpenType Sanitizer November 2020 OTS-SANITIZE(1)