Bug report #3058
print composer: exporting to PDF does not resize correctly vectors if symbology is in mm. Works fine if units are map units.
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13118|
Add a point vector layer and in ita symbology assign to it a pretty large size in millimeters.
Open the print composer and export to PDF: the size of points does not scale as in the composer/canvas.
Same process, but now define the size in map units instead of mm: exporting to PDF produce a correct result.
#2 Updated by Giovanni Manghi over 9 years ago
I'm using the new symbology. If I set a point as a circle symbol with 15mm of diameter, on screen (in the canvas and in the composer) I can measure 11m, then on paper (printing as PDF) I can measure 14mm.
In general there is a 1mm difference between what was set in the symbology properties and the paper. For my uses it is ok, maybe for others it is not.
On screen the measure doesn't seems to be the same as the one set in the symbology properties (20mm become 14.5mm, 50mm become 37mm, etc.).
#4 Updated by Marco Hugentobler over 9 years ago
I tested on several machines, and the printer output was usually close to 15 mm. On screen, I had different results, it was correct on some and wrong on others (e.g. 11 mm instead of 15). I think this might be do to the fact that the x-server (and thus Qt) does not always give the correct dpi number.
#6 Updated by michele zanolli over 9 years ago
I attached two PDF exported with the composer.
They both represent the same area at the same scale (1:5000) on the same page size (A4).
The only difference is the quality (100dpi and 300dpi)
As you can see, they are very different, but they should be identical!
I think that the 300dpi PDF is a bigger image resized to fit the 1:5000 scale. I think that this is wrong!
#10 Updated by Giovanni Manghi over 8 years ago
- Status changed from Open to Closed
- Crashes QGIS or corrupts data set to No
- Status info deleted (
- Resolution set to duplicate
- Affected QGIS version set to master
- Operating System deleted (
Now I see the same symbol size in both the canvas and the pdf output, so it was duplicate of #3786 or fixed since I filed the ticket.