<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 use the function $scale in a data-defined label property (letter spacing property). The expression worked fine in QGIS 2.18 but fails in QGIS 3.</p>
<p>Did something change in the expression context in QGIS master, so that $scale can't be used in label settings context anymore - or is this a bug?</p>
<p>The reason I still use $scale and not @map_scale is that we still have QGIS servers on 2.18 around, and QGIS server in the 2.x branch can't use the @map_scale variable.</p>
<p>Thanks if you know about this issue,</p>
<p>Andreas</p>

</body></html>