diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-10-25 12:25:28 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-10-25 12:25:28 +0200 |
commit | a89c74cd325b3ee670ba430756eec267a49400c0 (patch) | |
tree | 8ea0294931c79d95a38e7cbe8697dc3e1aaa00ff /pdf/data_encodings.h | |
parent | c5918f8ec97a9e914666da4a4b4da5bb81f9a77c (diff) | |
download | mupdf-a89c74cd325b3ee670ba430756eec267a49400c0.tar.xz |
Treat garbage in PDFDocEncoding low code points as spaces.
Diffstat (limited to 'pdf/data_encodings.h')
-rw-r--r-- | pdf/data_encodings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/data_encodings.h b/pdf/data_encodings.h index 4a86e514..96b06769 100644 --- a/pdf/data_encodings.h +++ b/pdf/data_encodings.h @@ -2,9 +2,9 @@ const unsigned short pdf_doc_encoding[256] = { - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0009, 0x000A, 0x0000, 0x0000, 0x000D, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0, ' ', ' ', ' ', ' ', ' ', ' ', ' ', + ' ', 0x9, 0xA, ' ', ' ', 0xD, ' ', ' ', + ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x02d8, 0x02c7, 0x02c6, 0x02d9, 0x02dd, 0x02db, 0x02da, 0x02dc, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, |