<div dir="ltr"><div>Hi,<br><br></div>I've mostly finished the labeling unit test framework (at least for *nix). You can read about the setup in its README [0] and about the local test server [1], if interested.<br clear="all">
<div><div><div><br></div><div>I'm happy to report that there is considerably good parity between all outputs now (at least from my testing on Mac), especially since the advent of mulit-threaded rendering. However, there are only a few actual unit tests right now. The only outstanding issues revolve around too much antialiasing in test renders.<br>
</div><div><br></div><div>There is still some CMake coding to do, adding modules for the now-required utilities when ENABLE_TESTS=ON. These are currently:<br><br></div><div>* lighttpd (local HTTP server)<br></div><div>* spawn-fcgi (qgis_mapserv.fcgi spawner)<br>
</div><div>* poppler, with cairo support (composer PDF -> image rasterizer, for comparisons)<br></div><div><br></div><div>There still needs config files set up for lighttpd/spawn-fcgi on Windows.<br></div><div><br></div>
<div>I'll be triaging labeling bugs and trying to fix them, while ensuring regression tests are in place and passing. Then I'll add more unit tests for general API stuff.<br></div><div><br></div><div>Lastly, I will be putting forth a proposal concerning a redesign of the labeling classes, which includes rule- and style-based labeling. That will come after an effort on the previously noted bug fixing.<br>
<br></div><div>Any help with the bug squashing (or anything related to this stuff) would be greatly appreciated. :-)<br></div><div><br>[0] <a href="https://github.com/qgis/QGIS/tree/master/tests/testdata/labeling">https://github.com/qgis/QGIS/tree/master/tests/testdata/labeling</a><br>
[1] <a href="http://osgeo-org.1560.x6.nabble.com/New-Python-QgsLocalServer-and-standard-fonts-for-testing-td5104818.html">http://osgeo-org.1560.x6.nabble.com/New-Python-QgsLocalServer-and-standard-fonts-for-testing-td5104818.html</a><br>
<br></div><div>Regards,<br></div><div><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota</div>
</div></div></div>