[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
Thu Jan 8 03:07:48 PST 2015


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

--- Comment #7 from Carlos Garcia Campos <carlosgc at gnome.org> ---
(In reply to Albert Astals Cid from comment #6)
> Created attachment 111934 [details] [review]
> 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

LGTM

-- 
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/20150108/6117e7cc/attachment.html>


More information about the Poppler-bugs mailing list