Bug report #20189

Muted colours in legend when exporting as PDF

Added by Rob Willson over 5 years ago. Updated about 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.3(master) Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28010

Description

Occurs in 3.3 (master) and 3.2.3

When exporting as PDF I want lines and text to export as vector so that the text isn't unacceptably degraded, but I also have polygon layers with transparency that require printing as raster

so I make the following settings:

usually 200, 300, or 400 dpi to keep file sizes reasonable

Uncheck print as raster
Uncheck always export as vectors

QGIS then prompts me again to print as raster so I uncheck print as raster again. Is there any way to suppress this message box?

When I open the exported PDF the proper transparent colours are shown in the map frame but the legend colours are incorrect (muted, dull)

I assume that unchecking the boxes causes QGIS to make the decision that the transparent layers should be rasterized and that seems to be happening in the map frame but not in the legend.

the popup tip suggests that this is the case (i.e., "... If unchecked, some elements in the layout may be rasterized in order to keep their appearance intact")

As another step I also tried to force QGIS to export the transparent layer as raster by changing the properties of the transparent layer to "Force layer to render as a raster"; however, the legend colours still come out as muted/dull.

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Priority changed from High to Normal

Also available in: Atom PDF