Opened 14 years ago
Last modified 13 years ago
#1796 new bug
Multi-line text in a SVG file is not drawn correctly in Print Composer
Reported by: | craigleat | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Printing | Version: | Trunk |
Keywords: | SVG | Cc: | pcav, mhugent, botsnlinux@… |
Must Fix for Release: | No | Platform: | Linux |
Platform Version: | ubuntu 9.04 | Awaiting user input: | no |
Description
The attached file is an inkscape SVG containing an A2 titleblock. The multi-line text is drawn on a single line when the SVG is imported into Print Composer.
Attachments (1)
Change History (9)
by , 14 years ago
Attachment: | A2 Test.zip added |
---|
follow-up: 4 comment:2 by , 14 years ago
Cc: | added |
---|
This is duplicate of #1647 (see below the last comment) and seems to be not a qgis problem.
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:3 by , 14 years ago
I don't think it is a duplicate since #1647 is an enhancement and moreover has been closed. The current bug should remain open until fixed since it affects usability. If it needs to be fixed upstream then great it won't consume our devs' time.
comment:4 by , 14 years ago
Replying to lutra:
- Fix the Inkscape export
Inkscape appears to work correctly as the SVG file attached to this ticket displays properly in Firefox. The problem seems to be with QGIS or its dependencies.
comment:5 by , 14 years ago
Cc: | added |
---|
comment:7 by , 14 years ago
Replying to mhugent:
This is most likely a bug in the Qt svg code
Marco, are you able to report this on the Qt Task Tracker? Sorry, but I don't feel I know enough Qt to make a meaningful bug report.
comment:8 by , 13 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
Sample SVG with multi-line text