1OTS-IDEMPOTENT(1) User Commands OTS-IDEMPOTENT(1)
2
3
4
6 ots-idempotent - font transcoder
7
9 ots-idempotent FONT_FILE
10
12 ots-idempotent is a program which validates and transcodes a font file
13 using OTS. This tool transcodes the original font twice and then veri‐
14 fies that the two transcoded fonts are identical:
15
16 t1 = ValidateAndTranscode(original_font);
17 if (validation_error)
18 PrintErrorAndExit;
19 t2 = ValidateAndTranscode(t1);
20 if (validation_error)
21 PrintErrorAndExit;
22 if (t1 != t2)
23 PrintErrorAndExit;
24
25 This tool is basically for OTS developers.
26
28 $ ./ots-idempotent sample.otf
29 $ ./ots-idempotent malformed.ttf
30 WARNING: bad range shift
31 ERROR at src/ots.cc:670 (ProcessGeneric)
32 Failed to sanitize file!
33
35 Report bugs to <https://github.com/khaledhosny/ots/issues>
36
38 ots-perf(1), ots-sanitize(1), ots-side-by-side(1), ots-validator-
39 checker(1)
40
41
42
43OpenType Sanitizer May 2021 OTS-IDEMPOTENT(1)