Bug report #338

SVG images not visible in Map Composer printed

Added by Redmine Admin over 17 years ago. Updated almost 15 years ago.

Assignee:Redmine Admin
Affected QGIS version: Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied: Resolution:worksforme
Crashes QGIS or corrupts data: Copied to github as #:10397


SVGs are not visible or have their colors and transparencies corrupted after added via 'Add Image' in Map Composer. Some SVGs become better visible (but usually only partially or corrupted) after printing to eps.

It happens with any SVG I tried of those shipped with my Gnome or those shipped with QGIS.


#1 Updated by Gavin Macaulay - over 17 years ago

This problem is caused by the less than ideal support of svg by Qt. For the moment there's little we can do about this - we're basically waiting for Qt to provide better support for svg, hence I've disabled the svg filter in the load image dialog box, and shifted this ticket to the 0.9 release. SVG's can still be loaded by selecting the *.* filter, etc (SVN c9fed33a (SVN r6068)).

#2 Updated by Marco Hugentobler over 15 years ago

Is this ticket still valid?

#3 Updated by gjm - over 15 years ago

Seems to be much improved. It is likely that there are still problems with svg, given Qt's limited SVG support, but I'd call this ticket resolved.

#4 Updated by Maciej Sieczka - over 15 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

Replying to [comment:3 mhugent]:

Is this ticket still valid?

All looks fine now. Colour SVGs with shadows, transparencies and stuff look OK in the composer and PDF output (using QT 4.4.0, Debian). Closing ticket.

#5 Updated by Anonymous almost 15 years ago

Milestone Version 1.0.0 deleted

Also available in: Atom PDF