<div dir="ltr"><div class="gmail_default" style="font-size:large">​​</div><div class="gmail_default" style="font-size:large">Hi folks,<br><br></div><div class="gmail_default" style="font-size:large">In one of my plugins I create a QgsComposition and fill it with some QgsComposerLabel items. Extract of code :<br><br><a href="http://paste.debian.net/788195/">http://paste.debian.net/788195/</a><br><br></div><div class="gmail_default" style="font-size:large">In 2.14, this works fast and well -> my HTML is well rendered when exporting the composition to pdf.<br><br>In 2.16, generation take ages, and the exported PDF shows blank labels with no rendered content.<br><br></div><div class="gmail_default" style="font-size:large">If I comment the line 17 ( with : cl.setHtmlState(2) ) and test again in 2.16, PDF generation is as fast as in 2.14, and text is rendered (but oviously HTML is not rendered, only plain text ).<br><br></div><div class="gmail_default" style="font-size:large">It seems there is an issue with HTML rendering in my QGIS context with QT. What would you advise me to do to understand what is going on here ? What can I try ?<br><br></div><div class="gmail_default" style="font-size:large">NB: is here my QGIS "about" information data:<br>Version de QGIS<br>2.16.1-Nødebo<br>Révision du code<br>8545b3b<br>Compilé avec Qt<br>4.8.7<br>Utilisant Qt<br>4.8.7<br>Compilé avec GDAL/OGR<br>1.11.3<br>Utilisé avec GDAL/OGR<br>1.11.3<br>Compilé avec GEOS<br>3.5.0-CAPI-1.9.0<br>Utilisé avec GEOS<br>3.5.0-CAPI-1.9.0 r4084<br>Version du client PostgreSQL<br>9.5.2<br>Version de SpatiaLite<br>4.3.0a<br>Version de QWT<br>5.2.3<br>Version de PROJ.4 :<br>492<br>Version de QScintilla2<br>2.9.1<br><br><br></div><div class="gmail_default" style="font-size:large">Regards,<br></div><div class="gmail_default" style="font-size:large">Michaël<br></div><div class="gmail_default" style="font-size:large"><br></div></div>