[Qgis-user] HTML tags in label expresion on QGIS 2.0.1

Paulius Litvinas paulius at infoera.lt
Tue Oct 22 00:01:03 PDT 2013


Thanks for the info. Are there any plans for this?

 

Looks like I mingled QGIS labels with Mapguide labeling..

 

From: Nathan Woodrow [mailto:madmanwoo at gmail.com] 
Sent: Tuesday, October 22, 2013 9:39 AM
To: Paulius Litvinas
Cc: qgis-user
Subject: Re: [Qgis-user] HTML tags in label expresion on QGIS 2.0.1

 

Hey,

 

HTML based labels aren't supported yet.  What you see in the dialog is a
render preview using a QLabel which can handle HTML.  I need to change that
to just use plain text rather then rich text.

 

It was never supported in any older versions.

 

- Nathan

 

On Tue, Oct 22, 2013 at 4:22 PM, Paulius Litvinas <paulius at infoera.lt>
wrote:

Hello list,

 

I tried to use HTML bold tag <b></b> for a part of label text in label
expression.

 

HTML tags are properly interpreted and rendered on "Expression based label"
dialog at Output preview, but unfortunately not the same on the map. 

You can see in the image below - red and green areas.

http://img42.com/Hd4Zp

 

Maybe there is some kind of setting to enable this on map render? (I
couldn't find) Or this is a bug?

As I remember this used to work in 1.x versions.

 

Sincerely,

Paul


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131022/3ee75f3b/attachment.html>


More information about the Qgis-user mailing list