Thursday 15 August 2019

qgis - How to add a halo to a text in the composer?


I would like to add texts with halo, in the composer (not in the map). Do you know a way to do it?


I'm using QGIS 2.0.1



Answer



Add a new label in QGIS 2.0.1 Composer.


In the item properties if you put the following code


Test

you'll obtain the desired effect:


enter image description here



(Don't forget to disable the item background if you are looking for a transparent label!)




EDIT


Some text-shadow explanations below:


enter image description here


For offsets and blur you can use positive or negative values.




More, you can have multiple shadows, like this:


Example 1:


Test


And you'll see this:


enter image description here


Example 2:


Test

enter image description here


Example 3:


Test

enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...