Copy link to clipboard
Copied
Hi everyone, I've created a simple PDF file, it only shows the message "Hello world!!". However even although I can open it without any issue in several browsers and many other pdf readers I can't do it with the latest version of adobe acrobat reader dc (64 bits) installed from scratch some minutes ago in my windows 10 pc. I'm sending attached to this post the hello_world.pdf file and a screenshot whit the error message provided by adobe reader so you can review it. Any suggestion will be welcome.
I already solved the issue, it seems that ASCIIHexDecode filter can't be used in the xref object. Thanks anyway.
Copy link to clipboard
Copied
Hi,
Thanks for sharing the PDF file and screenshot of the error.
It appears to be the file itself got corrupted at the time it was created. Would you mind confirming the exact steps of how this file was produced? Was it using the Acrobat DC or just saving a word document to .pdf format?
modify the way the PDF is produced and check back.
We assume that it's most likely a particular file that's causing the error. Let us know if you experience the same behavior with other .pdf files too.
Thanks,
Akanchha
Copy link to clipboard
Copied
The file was created by hand, just copy the following text in a text editor and save it with the name hello_world.pdf. Be careful to use only LF as the new line instead of CR LF, otherwise it may be wrong.
%PDF-1.7
1 0 obj<</Type/Catalog/Pages 2 0 R>>
endobj
2 0 obj<</Type/Pages/Count 1/Kids[3 0 R]>>
endobj
3 0 obj<</Type/Page/Parent 2 0 R/Contents 5 0 R/Resources <</Font <</F1 4 0 R>>>>/MediaBox[0 0 595 842]>>
endobj
4 0 obj<</Type/Font/Subtype/Type1/BaseFont/Helvetica>>
endobj
5 0 obj<</Length 43>>stream
BT
/F1 16 Tf
42 770 Td
(Hello world!!)Tj
ET
endstream
endobj
6 0 obj<</Root 1 0 R/Type/Xref/W[1 2 2]/Size 7/Length 90/Filter/ASCIIHexDecode>>stream
00 0000 FFFF
01 0009 0000
01 0035 0000
01 0067 0000
01 00D8 0000
01 0116 0000
01 016F 0000
endstream
endobj
startxref
367
%%EOF
Copy link to clipboard
Copied
According to the documentation it seems that the filter ASCIIHexDecode requires an ending GREATER-THAN SIGN(3Eh) marker, so I added that at the very end of the last entry in the cross-reference stream (ie, after the sequence 01 016F 0000) and also incremented the stream length from 90 to 91 to be consistent, but still the same issue. I don't know what else could I do to make adobe reader to open it. Any idea?
Copy link to clipboard
Copied
I already solved the issue, it seems that ASCIIHexDecode filter can't be used in the xref object. Thanks anyway.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now