<div dir="ltr">hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-14 11:18 GMT+02:00 Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all.<br>
I noticed that in Windows adding a return inside a string in a text<br>
label expression, like:<br>
'This is<br>
a field: ' || FIELDNAME<br>
shows properly in my linux box, but an empty square is displayed in<br>
Windows. I tried several fonts, both TrueType and not.<br>
Is there an explanation for this?<br></blockquote><div><span style="color:rgb(61,133,198)"><br>Can't confirm your issue. the return in the text is well applied on 2.8.2 (osgeo), windows 8 32bits.</span><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
As a side note, the return and the option to replace a character<br>
(typically space) with return do not interact nicely, the return within<br>
a string not being used.<br></blockquote><div><br></div><div><span style="color:rgb(61,133,198)">Indeed, there's an issue. Tested widely and these are my conclusions :<br>- if the return and the wrap character are in the same string,  the return is not taken into account, it becomes a simple space;<br>- if the wrap character appears before the return, even in a separate string, the return is not taken into account, it becomes a simple space. <br>- Only returns written before a wrap character, in a separate string, are applied.<br><br></span></div><div><span style="color:rgb(61,133,198)">Hoping that helps.</span><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks for feedback.<br>
<span class=""><font color="#888888">--<br>
Paolo Cavallini - <a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" target="_blank">http://www.faunalia.eu/training.html</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></span></blockquote></div><br></div></div></div>