Created attachment 129520 [details] Drawing failure If a document contains pages with large differences in page size (/MediaBox field), drawing failure occurs. Attached is an example with two empty pages, the first one has dimensions 100000x100000 and the second one has dimensions 10x10. Upon opening with Evince, the window does not display properly and the following appears on stderr. (evince:14359): Gtk-WARNING **: drawing failure for widget `EvView': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `GtkScrolledWindow': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `GtkOverlay': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `GtkBox': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `GtkPaned': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `GtkBox': invalid matrix (not invertible) (evince:14359): Gtk-WARNING **: drawing failure for widget `EvWindow': invalid matrix (not invertible)
Why is this a poppler bug and not an evince bug?
The same document seems to affect pdftoppm, which reports a "Bogus memory allocation size" on stderr, but prints weird stuff on stdout... $ pdftoppm file.pdf Bogus memory allocation size P6 1 1 255 ���P6 21 21 255 ... $ pdftoppm file.pdf > /dev/null Bogus memory allocation size $ pdftoppm file.pdf 2> /dev/null P6 1 1 255 ���P6 21 21 255 ...
pdftoppm can't render that file at default resolution because it'd have to allocate too much memory. Try with -r 10
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.