summaryrefslogtreecommitdiff
path: root/pdf/data_encodings.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-10-25 12:25:28 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-10-25 12:25:28 +0200
commita89c74cd325b3ee670ba430756eec267a49400c0 (patch)
tree8ea0294931c79d95a38e7cbe8697dc3e1aaa00ff /pdf/data_encodings.h
parentc5918f8ec97a9e914666da4a4b4da5bb81f9a77c (diff)
downloadmupdf-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.h6
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,