poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1e99a1eeb3a144facf45165df9f457796c045daa Author: Albert Astals Cid <aa...@kde.org> Date: Thu Jan 3 19:47:10 2019 +0100 Revert 9fd5ec0e6e5f763b190f2a55ceb5427cfe851d5f It was causing regressions for some half-broken files Rationale: Even if xref::constructXRef is returning false, that only means "i din't find a new xref root", but constructXRef is also quite stubborn in which it basically parses the whole file and stores the positions of all the objects it finds, so for some half broken pdf files this is good enough and we will be able to render those files just fine diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc index 1fa740a4..93fa4464 100644 --- a/poppler/PDFDoc.cc +++ b/poppler/PDFDoc.cc @@ -311,7 +311,7 @@ bool PDFDoc::setup(const GooString *ownerPassword, const GooString *userPassword extractPDFSubtype(); // done - return xref->isOk(); + return true; } PDFDoc::~PDFDoc() { _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler