[GIS] QQIS composer: Using bold and normal text styling in a label at the same time

labelingprint-composerqgis

I am writing text explanations for map symbols and need to write three lines for each symbol – basically explaining the same thing in three different languages.

I'd like to bold the main language – but when I select bold from the composer 'font' menu, it bolds all three lines – not just the one I've highlighted.

Could it be there is no way to mix stylings, font sizes and so on in a single composer label? It would be very handy option if its possible to have.

Best Answer

In the current version of QGIS (1.8) you will have to have three different label objects under each other. You can group the label items so that you can move them around as a block.

However in the latest dev version there is a new HTML labels feature that you could use to do this.

<h1>mmmm HTML label</h1>
<b>Some bold text</b>
<br><br>
<i>Some other text</i>
<p style="color:blue"><i>Some blue text</i></p>

Related Question