Opened 14 years ago
Closed 13 years ago
#2598 closed bug (upstream)
Polygon fill patterns scale differently in pdf export as raster versus non-raster
Reported by: | jctull | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Printing | Version: | Trunk |
Keywords: | composer pdf export raster vector | Cc: | |
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | 10.6.2 | Awaiting user input: | no |
Description
When I print to a pdf file with the "as raster" option selected, polygon fill patterns appear as I would expect. If I, instead, export the pdf as a vector file, the fill patterns are quite oversized/enlarged and appear pixelated. For example, using cross-hatch patterns looks quite different on the finalized map that is exported between the two methods. I believe this is true for both old and new symbology. qt-4.6.2
Change History (4)
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Thanks for your comments on this, Marco. I recall, vaguely, that we discussed this in email at some point in the past. Your clarification is useful and should help others that might come across this issue.
comment:3 by , 13 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:4 by , 13 years ago
Resolution: | → upstream |
---|---|
Status: | reopened → closed |
This is a Qt but (http://bugreports.qt.nokia.com/browse/QTBUG-5114). It works if you print to raster because QPainter then renders to image first and then embedds the image into the pdf. No idea why the patch in the ticket is not applied to the qt sources. I tested with a patched Qt and it worked properly.
And note: it only works for symbology-ng 'svgFill' types. The hardcoded polygon fill hatches are printed as raster by QBrush, so won't scale nicely on printout.
Closing the ticket because it is not a bug in QGIS (though I understand it is annoying for users).