In imported PDF, some objects not rendered / partially rendered
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Krzysztof Kosinski |
Bug Description
Inkscape 0.47
Ubuntu 10.04
As Free Software becomes increasingly popular among academics in the sciences, an increasingly common workflow is to render plots using matplotlib, then clean them up using Inkscape. Most of the time it works very well. But sometimes the .pdf files produced by matplotlib do not render correctly in Inkscape.
In the attached file, the data are initially not visible when I open Inkscape. If I zoom in and out using 'CTL+mouse wheel', a horizontal strip of the data about 1" tall on my monitor becomes visible. Interestingly, no matter how far in or out I zoom, only 1" is ever visible on-screen -- zooming out reveals more of the data, while zooming in hides more. If I try to export the image to .eps, the data are not visible at all in the resulting file.
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
> If I try to export the image to .eps, the data are not visible at all in the resulting file.
The issue with incomplete or empty exports is possibly similar to bug #534679 “Cairo-based export not exporting all elements”: "corrupt" data (e.g. objects with "impossible" geometry/path data/transforms) can cause the rendering to be stopped ("rendering up to, but not including, the first element which has an error") in cairo-based exports.
> sometimes the .pdf files produced by matplotlib do not render correctly in Inkscape
Importing the attached PDF file produces tons of these console messages (which also occur when reopening it in Inkscape after saving as Inkscape SVG):
File display/ nr-arena- item.cpp line 323 (?): Assertion item->state & NR_ARENA_ ITEM_STATE_ BBOX failed