Feature request #4080
Html formatted labels
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||14063|
In addition to expression based labels (#3488), it would be great to have a partial html formatting (e.g. <font size> <b> <i> <br> and <hr>)
Especially the horizontal line is often required:
some_field || '<hr/>' || another_field
#6 Updated by Mete Ercan Pakdil almost 4 years ago
Last week I made a presentation about my paper titled "Smart Aeronautical Chart Management System Design" in GeoAdvances 2015, Kuala Lumpur.
In the "Questions" part of my presentation, a professor from UCL (unfortunately I don't remember her name) asked me "why not a open source GIS instead of ArcGIS". I explained that aeronautical charts need special labels and OS GIS apps do not have this functionality yet. The professor suggested me here to request this functionality.
Indeed, Borys Jurgiel already asked it but it is changed to "Nice to Have". However, this is very important in aeronautical charts. I beleive by using of HTML capabilities, we can produce charts in QGIS. Only two commercial apps from ESRI and Luciad can make it.
#7 Updated by Martin HOFFMANN over 3 years ago
A little up because this feature request just popped up again 5 days ago at GIS Stack Exchange
And for the record theses very similar questions are being up-voted on regular basis and still don't have satisfactory answers.
As I said in the latest thread, this is one of my last "damn ArcGis is still better on that" point...
#9 Updated by Martin HOFFMANN almost 3 years ago
Hello this seems partially implemented in 2.16.2
If I input this in the expression editor:
format('<h1>This</h1><b style="color: blue">%1 a %2</b>','is', 'test')
I can seen the formatted result preview in the expression editor but not in the canvas.
Is it normal? People may thing this is working while actually it is still in development...
#11 Updated by Harrissou Santanna over 2 years ago
mr twister wrote:
This is a feature I have been waiting for a long time.
Please, do not simply wait for it. Help devs make it a reality (there's already a work in progress at https://github.com/qgis/QGIS/pull/2856). If you are looking for it, you can advertise on it, (help) raise a funding/crowfunding on it and, given all interested people here (plus those who didn't express their interest), it might be doable.