Opened 14 years ago
Closed 14 years ago
#2610 closed bug (fixed)
Printing with SVG symbols: QGIS ignores totally the size of SVG symbol
Reported by: | trapanator | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Printing | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Steps to reproduce:
- load a point layer;
- assign a SVG symbol to it with a size defined;
- try to print to PDF
result: QGIS ignores totally the defined size
Attachments (2)
Change History (10)
comment:1 by , 14 years ago
by , 14 years ago
Attachment: | print_composer_screenshot.png added |
---|
screenshot of the QGIS "New Print Composer"
by , 14 years ago
Attachment: | export_as_image.png added |
---|
comment:2 by , 14 years ago
As you can see in the attachments only the red labels (numbers) are correctly scaled. The other symbols and the label of the line are wrong.
comment:3 by , 14 years ago
Must Fix for Release: | Yes → No |
---|---|
Priority: | critical: causes crash or data corruption → major: does not work as expected |
I agree this should be tackled but I don't think this should hold up a new release if not solved.
comment:4 by , 14 years ago
Umm, I'm unable to replicate.
Is that new symbology or old symbology or both?
Does that happen only with SVG symbols with size in map units or also in other combinations? (simple marker / font marker, millimeters)
Does the problem exists in PDF export, in raster export - or in both? It seems that trapanator refers to PDF export, while zanollim refers to raster export.
Martin
follow-up: 6 comment:5 by , 14 years ago
Martin,
Because I need rotation of the symbols by a layer attribute, currently I am using the old symbology.
Yes, the problem occurs:
with SVG symbols
with size in map units (and not in pixel)
in PDF export and raster export
follow-up: 7 comment:6 by , 14 years ago
Because I need rotation of the symbols by a layer attribute, currently I am using the old symbology.
this is already available in new symbology
comment:7 by , 14 years ago
Replying to lutra:
Because I need rotation of the symbols by a layer attribute, currently I am using the old symbology.
this is already available in new symbology
yes, but only for unique value symbology. For categorized and graduated values, the option doesn't exists.
comment:8 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed for old symbology in r13687
change the 2. step with this: