OLD | NEW |
1 ------------------------------------------------------------------------------ | 1 ------------------------------------------------------------------------------ |
2 ot-sanitise - TTF/OTF font transcoder | 2 ot-sanitise - TTF/OTF font validator/transcoder |
3 | 3 |
4 Description: | 4 Description: |
5 ot-sanitise is a program which validates and transcodes a truetype or | 5 ot-sanitise is a program which validates and/or transcodes a truetype or |
6 opentype font file using the OTS library: | 6 opentype font file using the OTS library: |
7 | 7 |
8 transcoded_font = ValidateAndTranscode(original_font); | 8 transcoded_font = ValidateAndTranscode(original_font); |
9 if (validation_error) | 9 if (validation_error) |
10 PrintErrorAndExit; | 10 PrintErrorAndExit; |
11 OutputToStdout(transcoded_font); | 11 OutputToStdout(transcoded_font); |
12 | 12 |
13 Usage: | 13 Usage: |
14 $ ./ot-sanitise ttf_or_otf_file > transcoded_file | 14 $ ./ot-sanitise ttf_or_otf_file [transcoded_file] |
15 | 15 |
16 Example: | 16 Example: |
17 $ ./ot-sanitise sample.otf > transcoded_sample.otf | 17 $ ./ot-sanitise sample.otf transcoded_sample.otf |
18 $ ./ot-sanitise malformed.ttf > transcoded_malformed.ttf | 18 $ ./ot-sanitise malformed.ttf |
19 WARNING at ots/src/ots.cc:158: bad range shift | 19 WARNING at ots/src/ots.cc:158: bad range shift |
20 ERROR at ots/src/ots.cc:199 (bool<unnamed>::do_ots_process(ots::OpenTypeFile*,
ots::OTSStream*, const uint8_t*, size_t)) | 20 ERROR at ots/src/ots.cc:199 (bool<unnamed>::do_ots_process(ots::OpenTypeFile*,
ots::OTSStream*, const uint8_t*, size_t)) |
21 Failed to sanitise file! | 21 Failed to sanitise file! |
22 $ | 22 $ |
23 | 23 |
24 ------------------------------------------------------------------------------ | 24 ------------------------------------------------------------------------------ |
25 idempotent - TTF/OTF font transcoder (for OTS debugging) | 25 idempotent - TTF/OTF font transcoder (for OTS debugging) |
26 | 26 |
27 Description: | 27 Description: |
28 idempotent is a program which validates and transcodes a truetype or opentype | 28 idempotent is a program which validates and transcodes a truetype or opentype |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 ## +########* | 234 ## +########* |
235 *#+ *########. | 235 *#+ *########. |
236 ##.#######+ | 236 ##.#######+ |
237 +#######* | 237 +#######* |
238 *###*. | 238 *###*. |
239 | 239 |
240 | 240 |
241 Glyph mismatch! (file: free/kredit1.ttf, U+0021, 100pt)! | 241 Glyph mismatch! (file: free/kredit1.ttf, U+0021, 100pt)! |
242 $ | 242 $ |
243 ------------------------------------------------------------------------------ | 243 ------------------------------------------------------------------------------ |
OLD | NEW |