2

Is there any way to imitate the Mapinfo halo (of something similar) in the Print Composer. I'm trying to put some text (copyright information) over the maps and I want to make it so that it is easier to read the text over the map.

I've tried using the "Background" option for the label, but this blocks out the entire label area, and not just what is printed (the text is being auto generated with a custom function).

I'm currently experimenting with text-shadow using the below HTML snippet, but the highlighting is too diffuse to make any clear difference

<span style= "color:red;text-shadow: 0 0 100px #ffffff;">[% printCopyRights()%]</span>
1

These instructions from css-tricks.com work just fine:

<p style="-webkit-text-stroke: 5px black; font-size:100; color:#fff;">QGIS</p>

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.