[Poppler-bugs] [Bug 85919] wrong render result

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 30 14:42:43 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85919

--- Comment #16 from Albert Astals Cid <aacid at kde.org> ---
I was wondering, should we just not do something like

diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index ec8d3df..c4dd43d 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -92,7 +92,7 @@
                                        // file to look for linearization
                                        // dictionary

-#define xrefSearchSize 1024    // read this many bytes at end of file
+#define xrefSearchSize 16384   // read this many bytes at end of file
                                //   to look for 'startxref'

 //------------------------------------------------------------------------


?

After all PDFDoc::getStartXRef will read from the back anyway, no?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141230/e9a6c6a0/attachment.html>


More information about the Poppler-bugs mailing list