<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I noticed that $scale and @map_scale exist in parallel, but are not consistently behaving between QGIS Desktop and QGIS server.</p>
<p>$scale: works fine on both Desktop and Server, but expression preview in QGIS Desktop fails.</p>
<p>@map_scale: works fine on QGIS Desktop and also in expression preview, but fails on QGIS Server.</p>
<p>Context: expression to calculate letter spacing in a label for different map scale. Tested on QGIS Master 2.x on Windows 7 64bit.</p>
<p>Thank you,</p>
<p>Andreas</p>
<p> </p>
<p> </p>
<div> </div>
</body></html>