When using Okular, I'm getting often "Bogus memory allocation size" error messages from pdf files exported by Inkscape. This typically involves embedded bitmaps, and the bitmaps do not display on the screen. I'm trying to figure out if this is an inkscape or poppler problem. A reduced test case is attached (svg, pdf, and png rendering to show how it's supposed to look). Thanks a lot for your help.
Created attachment 137484 [details] Inkscape svg source
Created attachment 137485 [details] pdf exported by inkscape
Created attachment 137486 [details] png exported by inkscape
Further information: * Gentoo * Inkscape 0.92.2 * Okular 17.12.2 * Poppler 0.62.0 This problem has been plagueing me for a while though.
the pdf is weirdly constructed. There's a relatively "crazy" transformation matrix 18158.399546 0 0 -7163.799821 -0.000000345 7163.799823 cm which when asked to zoom ends up needing too much memory and poppler bails out. poppler "could" try to work with such strangely formed documents but it seems to me that it's much better if inkscape creates better formed pdf files.
(In reply to Albert Astals Cid from comment #6) > > poppler "could" try to work with such strangely formed documents but it > seems to me that it's much better if inkscape creates better formed pdf > files. OK thanks. I'm going to submit an Inkscape bug and link to it here. Let's see what feedback we get there.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/291.
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.