From a89c74cd325b3ee670ba430756eec267a49400c0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 25 Oct 2011 12:25:28 +0200 Subject: Treat garbage in PDFDocEncoding low code points as spaces. --- pdf/data_encodings.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf') 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, -- cgit v1.2.3