Opened 14 years ago

Closed 13 years ago

#3190 closed bug (upstream)

SVG markers with centered labels issue

Reported by: dr Owned by: wonder
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Symbology Version: Trunk
Keywords: Cc: dr, gislab, alexbruy
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Sometimes SVG markers which contained centered text labels looks in QGIS a little differ than in another software like browsers or vector graphic editors. In such cases label is moving to left side of marker. For example: http://gis-lab.info/images/screenshots/20101104-e59-50kb.jpg Example of svg marker in attachment.

Attachments (1)

beer.svg (1.0 KB ) - added by dr 14 years ago.

Download all attachments as: .zip

Change History (3)

by dr, 14 years ago

Attachment: beer.svg added

comment:1 by gislab, 13 years ago

Owner: changed from nobody to wonder

comment:2 by wonder, 13 years ago

Resolution: upstream
Status: newclosed

Unfortunately this is how Qt loads that SVG, so it's not actually QGIS problem - if you open SVG Viewer example from "qtdemo" application, it will display the SVG in the same way as QGIS does. Please file a bug in Qt for this issue.

As a workaround consider transforming that text to a path in a vector editor...

Note: See TracTickets for help on using tickets.