PDF export - size of PDF slightly wrong [0.91]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi everyone,
I experience an issue while exporting in PDF : the size of my bitmaps is slightly off, creating a white row or column in my figures. This effect seems similar to the bug #168275 already reported few years ago.
I am using Inkscape 0.91 r13725 under Ubuntu 16.04. Attached is an example consisting of a SVG file and the resulting PDF file. In the SVG file, each black rectangle is composed of a black bitmap and an independent black contour. The bitmap has been created with the python library "matplotlib", exported as pdf and finally imported in Inkscape using poppler. In Inkscape, the rectangle is entirely black. When exported into PDF, a white line appears (horizontal in the top of bitmap 1, vertical on the left of bitmap 3), as a result of the smaller size of the bitmap.
My understanding is that the size of the bitmap is rounded while exporting in PDF, as suggested earlier and thought fixed in comment #14 of bug #168275. Each bitmap before export is L = 86,768 pt and H= 100,651 pt. After the export, bitmap 1 is L=86,768 pt and H= 100,000 pt whereas bitmap 3 is L=86,000 pt and H= 100,651 pt.
Thanks !
confirmed on Windows 10, Inkscape 0.92pre2 15127 (Oct 21 2016)