<div dir="ltr"><div>Hi,<br><br></div>An update on this. Designing an appropriate test suite for labeling turned out to be much more involved than anticipated (go figure). I have the base suite set up but need help from other test server administrators before the output from the QGIS Server tests can have a good crosscheck of output. In the meantime, I'll do what I can to fix/test issue #8068 using local virtual machines for Win7 and Ubuntu, in addition to my Mac. I still have to make the unit test class for Composer output.<div>
<div><div class="gmail_extra"><br></div><div class="gmail_extra">Once completed, the labeling test suite will work like so:<br><br></div><div class="gmail_extra">* Individual label variation tests are added to test_qgspallabeling_tests.py. Those are inherited by each of the labeling output test case classes (canvas, composer and server, etc.). This means for each individual test added there will be 9 new tests run by the suite (see next). This is critical for testing that labels look the same regardless of output (that's the goal, anyways).<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">* Each of the output test case classes compares against a control image, with the composer and server outputs also crosschecked against the canvas output control images. The composer classes will compare all three variants of output: image, PDF, SVG. Since the latter two will need to be subsequently rasterized, running the full test suite may take awhile.<br>
<br></div><div class="gmail_extra">* Anomalies for tests will be collected and added where appropriate. There is the possibility that control images may need to be saved per each of the 3 major platforms, given the variations on text rendering, to realistically approach a higher percentage of valid tests. However, I would like to avoid such platform-specific control images, if possible.<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">I initially expect *many* failed individual tests (> 75%). Any help/comments on test suite design is appreciated and welcome. Again, the suite will initially be to verify that fixes for 2.0 blocking issues are good to go, then more tests will be added.<br>
<br></div><div class="gmail_extra">Regards,<br clear="all"></div><div class="gmail_extra"><div><br>Larry</div>
<br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 1:05 PM, Larry Shaffer <span dir="ltr"><<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div>Hi,<br><br></div>Due to family and work commitments I have not been able to focus on fixing outstanding labeling issues much in the past month. However, I have finally been able to clear the next 5 days to work solely on these issues.<br>

<br>Here is what I will be initially working on (in order):<br><br></div><div>* Creating a Python unit test suite for labeling, at first specifically to address current major issues<br></div><div><br>* Issue #8068 (and 8413), wrong font display in qgis server [0]<br>

<br></div><div>* Issue #3975, new label engine vectorizing texts in (printed) output [1]<br><br></div><div>* Pull request #640, labeling performance [2]<br><br></div><div>After addressing those, I will work on how to remove old labeling and any other labeling- / Mac-specific issues, in preparation for 2.0 release.<br>

<br></div><div>If anyone is currently working on any of these issues, please let me know (so we don't double-up work).<br></div><div><br>[0] <a href="http://hub.qgis.org/issues/8068" target="_blank">http://hub.qgis.org/issues/8068</a><br>

[1] <a href="http://hub.qgis.org/issues/3975" target="_blank">http://hub.qgis.org/issues/3975</a><br>[2] <a href="https://github.com/qgis/Quantum-GIS/pull/640" target="_blank">https://github.com/qgis/Quantum-GIS/pull/640</a><br>
</div><div><br></div><div>
Regards,<br></div><div><div><div><div><br>Larry<br><br></div>
</div></div></div></div>
</blockquote></div><br></div></div></div></div>