Summary: | Page displayed twice replacing the normal successor page. | ||
---|---|---|---|
Product: | poppler | Reporter: | m.nemo |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | hib |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
The file for posterity
0001-Make-sure-number-of-least-objects-in-hints-table-is-.patch |
Description
m.nemo
2014-02-09 10:22:47 UTC
Created attachment 93711 [details]
The file for posterity
Hib, can you have a look, bisect says that got broken by commit 5934c320aa136c1a6e97fb9bf54bdfdccfcab521 Author: Hib Eris <hib@hiberis.nl> Date: Wed Nov 10 22:50:36 2010 +0000 Linearization improvements I will take a look. 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. Created attachment 93725 [details] [review] 0001-Make-sure-number-of-least-objects-in-hints-table-is-.patch Awesome. Patch is in. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.