Bug report #2598
Polygon fill patterns scale differently in pdf export as raster versus non-raster
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
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
#1 Updated by Marco Hugentobler over 13 years ago
- Resolution set to wontfix
- Status changed from Open to 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).