Browse Source
According to the [PDF specification](http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#page=51) the `ID` should be an array. To prevent errors if the PDF file violates that part of the spec, check that the `ID` is actually an array. Fixes 5599.
4 changed files with 91 additions and 5 deletions
@ -0,0 +1,76 @@ |
|||||||
|
%PDF-1.7 |
||||||
|
%âãÏÓ |
||||||
|
1 0 obj |
||||||
|
<< |
||||||
|
/Type /Encoding |
||||||
|
/BaseEncoding /WinAnsiEncoding |
||||||
|
>> |
||||||
|
endobj |
||||||
|
2 0 obj |
||||||
|
<< |
||||||
|
/Pages 3 0 R |
||||||
|
/Type /Catalog |
||||||
|
>> |
||||||
|
endobj |
||||||
|
3 0 obj |
||||||
|
<< |
||||||
|
/MediaBox [0 0 200 50] |
||||||
|
/Kids [4 0 R] |
||||||
|
/Count 1 |
||||||
|
/Type /Pages |
||||||
|
>> |
||||||
|
endobj |
||||||
|
4 0 obj |
||||||
|
<< |
||||||
|
/Parent 3 0 R |
||||||
|
/MediaBox [0 0 200 50] |
||||||
|
/Resources |
||||||
|
<< |
||||||
|
/Font |
||||||
|
<< |
||||||
|
/F1 5 0 R |
||||||
|
>> |
||||||
|
>> |
||||||
|
/Contents 6 0 R |
||||||
|
/Type /Page |
||||||
|
>> |
||||||
|
endobj |
||||||
|
5 0 obj |
||||||
|
<< |
||||||
|
/BaseFont /Times-Roman |
||||||
|
/Subtype /Type1 |
||||||
|
/Encoding 1 0 R |
||||||
|
/Type /Font |
||||||
|
>> |
||||||
|
endobj |
||||||
|
6 0 obj |
||||||
|
<< |
||||||
|
/Length 41 |
||||||
|
>> |
||||||
|
stream |
||||||
|
BT |
||||||
|
10 20 TD |
||||||
|
/F1 20 Tf |
||||||
|
(Issue 5599) Tj |
||||||
|
ET |
||||||
|
|
||||||
|
endstream |
||||||
|
endobj xref |
||||||
|
0 7 |
||||||
|
0000000000 65535 f |
||||||
|
0000000015 00000 n |
||||||
|
0000000085 00000 n |
||||||
|
0000000136 00000 n |
||||||
|
0000000218 00000 n |
||||||
|
0000000347 00000 n |
||||||
|
0000000437 00000 n |
||||||
|
trailer |
||||||
|
|
||||||
|
<< |
||||||
|
/Root 2 0 R |
||||||
|
/Size 7 |
||||||
|
/ID 77777777777777777 |
||||||
|
>> |
||||||
|
startxref |
||||||
|
530 |
||||||
|
%%EOF |
Loading…
Reference in new issue