Bug report #19317

text SVG

Added by Loïc Bfr almost 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.2 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27145

Description

hello,
I often use the SVG export from the print layout and there is a bug on the versions 3.
It's impossible to get the text (labels essentially) on text format. It always become vector features even if the box "export labels as contours" is unchecked.

labelEngineSettings.jpg (263 KB) Patrick Connellan, 2018-07-17 12:02 PM


Related issues

Duplicated by QGIS Application - Bug report #19387: Composer SVG Export Closed 2018-07-11

History

#1 Updated by Matthew Baker almost 2 years ago

Loïc Bfr wrote:

hello,
I often use the SVG export from the print layout and there is a bug on the versions 3.
It's impossible to get the text (labels essentially) on text format. It always become vector features even if the box "export labels as contours" is unchecked.

Want to add that I'm seeing this as well. Exporting to SVG used to keep the text as 'text' vs. converting to 'paths'. This was useful for sending exported images to our graphics department (who will always find something to change...!). Version 3.x doesn't supporting keeping text as 'text' even when the option is checked.

#2 Updated by Harrissou Santanna almost 2 years ago

#3 Updated by Harrissou Santanna almost 2 years ago

  • Regression? changed from No to Yes

#4 Updated by Patrick Connellan almost 2 years ago

Going into Label Engine settings and unchecking "Draw text as outline" for layers you wish to export text as svg text element allows for text export (see attached image). Not sure if this helps with the fix but is a workaround for anyone wanting this functionality in the meantime. Anita Graser's blog https://anitagraser.com/2014/09/20/labels-as-text-in-svg-exports/ details a similar situation with QGIS2.

#5 Updated by Loïc Bfr almost 2 years ago

  • Status changed from Open to Closed

Well done guys, it works.
A bit complicated, this two parameters controls the same thing but only one works, the most hidden.
So I checked it, the export of text as text is controlled only by the check/uncheck "Draw text as outline" in Label Engine settings. The choices offered during SVG export has no effect whatever they are.
Something to change for the following releases.

Thanks!

Also available in: Atom PDF