<div dir="ltr">Hi Stefan,<br><div><div class="gmail_extra"><br><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)"></span><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="DE-CH"><div><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)"> </span>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)">I did have some problems with dpi output and qgsmaprenderer. Martin Dobias helped me at the hackfest. Now I’m using qgsmaprendererjob classes and it works with
 custom dpi and labels</span></p></div></div></blockquote><div><br></div><div>Great  !    Thank you also to Martin   :)<br><br></div><div>I am studing your source code...<br><br></div><div>BTW,   are  "qgsmaprendererjob"   classes  introduced from 2.4 version ?<br><br></div><div>In that case, I need to use a conditional like this :<br><br>              if  QGis.QGIS_VERSION_INT > 20200: <br><br></div><div><br></div></div></div></div></div>