Opened 14 years ago
Last modified 13 years ago
#3058 new bug
print composer: exporting to PDF does not resize correctly vectors if symbology is in mm. Works fine if units are map units.
Reported by: | lutra | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Printing | Version: | Trunk |
Keywords: | Cc: | neteler | |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
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.
Attachments (2)
Change History (11)
comment:1 by , 14 years ago
comment:2 by , 14 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.).
comment:3 by , 14 years ago
Owner: | changed from | to
---|
comment:5 by , 14 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.
comment:7 by , 13 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!
by , 13 years ago
Attachment: | 5000_100dpi.png added |
---|
by , 13 years ago
Attachment: | 5000_300dpi.png added |
---|
comment:9 by , 13 years ago
Cc: | added |
---|
Do you mean it does not scale the same relatively to the background map? That's because if you specify the size as e.g. 10 mm, it will be 10mm on screen and 10mm in printout.