[Poppler-bugs] [Bug 74741] Page displayed twice replacing the normal successor page.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 9 23:01:41 CET 2014


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

--- Comment #4 from Hib Eris <hib at hiberis.nl> ---
It seems the document in question does not have a correct value in the hints
table for the least number of object in a page. From inspecting the pdf file,
it seems the actual least number of objects in any page is 4, but reading it
from the hints table gives a value of 0. Now 0 is clearly an invalid value,
because this number should include the page object itself, therefor always
resulting in a value >= 1.

Adding a check for the value to be >=1 seems to fix this case by falling back
to not using the hints table.

-- 
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/20140209/c4e51d7b/attachment.html>


More information about the Poppler-bugs mailing list