Ticket #2598 (closed bug: upstream)

Opened 3 years ago

Last modified 2 years ago

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:
Platform Version: 10.6.2 Platform: OS X
Must Fix for Release: No 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

Changed 3 years ago by mhugent

  • status changed from new to closed
  • resolution set to wontfix

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).

Changed 3 years ago by jctull

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.

Changed 2 years ago by jef

  • status changed from closed to reopened
  • resolution wontfix deleted

Changed 2 years ago by jef

  • status changed from reopened to closed
  • resolution set to upstream
Note: See TracTickets for help on using tickets.