Issue 323 in openwonderland: PDF Viewer cannot render PDF with table of contents

1 view
Skip to first unread message

openwon...@googlecode.com

unread,
Dec 3, 2013, 5:56:43 PM12/3/13
to openwonder...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 323 by crrami...@gmail.com: PDF Viewer cannot render PDF with
table of contents
http://code.google.com/p/openwonderland/issues/detail?id=323

What steps will reproduce the problem?
1. Drag and drop a PDF with a table of contents

What is the expected output? What do you see instead?

The PDF is black and in the error log we can see an exception with a
message like "unable to read 'xref'"

What version of the product are you using? On what operating system?
Compiled from code updated in Nov, 1 2013

Please provide any additional information below.
https://groups.google.com/d/msg/openwonderland/hLbQcbfNW6M/Xcm3B4uof1QJ

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

openwon...@googlecode.com

unread,
Dec 3, 2013, 6:01:19 PM12/3/13
to openwonder...@googlegroups.com

Comment #1 on issue 323 by crrami...@gmail.com: PDF Viewer cannot render
To fix the problem I've upgraded the pdf library to icepdf which has a
better PDF support and support PDF 1.5:
http://www.icesoft.org/java/projects/ICEpdf/pdf-compliance.jsf

I am attaching the patch. The code is not clean yet but it works you can
test with it.

Another thing by default it will render the PDF at 200%, so can be viewed
well in best view or hud. But all the pdfs in your world will become bigger.



Attachments:
pdfviewer.jar 1.7 MB
pdfviewer.patch 1.2 MB
Reply all
Reply to author
Forward
0 new messages