Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1647 closed enhancement (fixed)

Import Inkscape SVG drawing into Print Composer

Reported by: craigleat Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.2.0
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no


Currently Print Composer can import SVG symbols. A great feature would be the ability to import an Inkscape SVG drawing of a map title block including company logos, fancy page borders, etc.

Change History (4)

comment:1 by neumann, 14 years ago

This is already possible (at least in trunk (or I also think upcoming 1.1 release)). You can browse and select any SVG file.

It needs however lots of improvements (proportional and non-proportional-scaling) - currently only non-proportional. Also text in SVG seems to render incorrectly - this is probably a bug in the qt-SVG implementation.

So, the functionality is already there but need to be improved and bugs fixed.

comment:2 by lutra, 14 years ago

Resolution: fixed
Status: newclosed

I cannot see any particular problem importing SVGs into the print composer, on qgis 1.2 from trunk. Maybe improvements have been already made since the ticket was open.

I'll close it, but please reopen if necessary.

comment:3 by neumann, 14 years ago

Well - as I stated above there are problem with text.

Multiline text often fails to import correctly. There are two possible solutions (outside of QGIS):

  • Fix the import problems in QT (I believe that's the desired route)
  • Fix the Inkscape export - which is theoretically standards compliant - but a bit awkward as it outputs everything in styles and uses strange repeated/redundant style and placement attributes. Once the attributes are cleaned up manuall, QGIS importst the SVGs fine

I would recommend fixing both issues - but it is somehow outside the scope of QGIS. So I guess we can really close this bug. It's probably not solved but it can't be solved in QGIS directly.

We should knock on Nokia/Trolltech and Inkscape door to get this fixed.

comment:4 by craigleat, 14 years ago

The multi-line text problem has been reported as a bug:

Note: See TracTickets for help on using tickets.