Discussion:
[gs-bugs] [Bug 698770] - MuPDF - Invalid value returned by fz_count_pages
b***@artifex.com
2017-11-21 12:46:52 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698770

Bug ID: 698770
Summary: Invalid value returned by fz_count_pages
Product: MuPDF
Version: master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: P4
Component: epub
Assignee: mupdf-***@artifex.com
Reporter: ***@gmail.com
QA Contact: gs-***@ghostscript.com
Word Size: ---

Created attachment 14477
--> http://bugs.ghostscript.com/attachment.cgi?id=14477&action=edit
Test source

Steps to reproduce:

1. Run './test test.epub`. The output is `pages count: 16`.
2. Render what is consider to be the last page: `muraster -W 1072 -H 1448 -S 42
-o test.pbm test.epub 16`.

You'll notice that the document doesn't end on page 16.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-21 12:47:18 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698770

--- Comment #1 from Bastien Dejean <***@gmail.com> ---
Created attachment 14478
--> http://bugs.ghostscript.com/attachment.cgi?id=14478&action=edit
Test document
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 21:37:15 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698770

--- Comment #2 from Bastien Dejean <***@gmail.com> ---
It seems that text omission can also occur at the middle of the document.
You'll notice after running the following command: `for p in 14 15; do muraster
-W 1072 -H 1448 -S 67 -o output-${p}.pbm test.epub $p; done` that the pixmap
for page 14 is the beginning of a chapter, but the end of the chapter isn't on
page 15.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-18 21:20:13 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698770

--- Comment #3 from Bastien Dejean <***@gmail.com> ---
Unfortunately, it also happens when `-X` is passed: `for p in 11 12; do
muraster -X -W 1072 -H 1448 -S 47 -o output-${p}.pbm test.epub $p; done`.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...