[Poppler-bugs] [Bug 88172] Error: Page count in top-level pages object is wrong type (null)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 7 14:31:49 PST 2015


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

--- Comment #6 from Albert Astals Cid <aacid at kde.org> ---
Created attachment 111934
  --> https://bugs.freedesktop.org/attachment.cgi?id=111934&action=edit
Patch

Fellow Poppler devels, a review?

The problem with these files is that the catalog links directly to a page, i.e.

70 0 obj
<<
/Type /Catalog
/Pages 72 0 R
/Outlines 4 0 R
/OpenAction 74 0 R
>>
endobj
72 0 obj
<<
/Type /Page
/Parent 71 0 R
/Resources 2 0 R
/MediaBox [ 0 0 3370 2384 ]
/Contents 1 0 R
>>

So what i'm doing is if Catalog::Pages is a Page instead of a Pages i assume
there's just a Page and carry on. Render and okular work

Shall i commit

-- 
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/20150107/97f6a3ef/attachment.html>


More information about the Poppler-bugs mailing list