andreas,<br>the outlining code for fonts is merely about drawing the same text offset by one pixel in each direction (N, NE, E, etc ). I&#39;ve changed a few things today in the font rendering code, could you possibly check with the svn version (or with beta5 due today I think) that this bug is still present when optimisation is on.
<br><br>tb<br><br><br><div><span class="gmail_quote">On 8/20/07, <b class="gmail_sendername">Andreas Albarello</b> &lt;<a href="mailto:andreas.albarello@territoriumonline.com">andreas.albarello@territoriumonline.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Folks,<br><br>some strange things are happening here with MapServer 5.0 beta 4 (as<br>
well as all the previous betas) regarding AGG truetype label rendering.<br><br>For instance, when compiling MapServer with VC8, more precisely Visual<br>C++ 2005 Express SP1, against agg 2.4 (compiled with the makefile<br>
provided by Jeff McKenna) and libfreetype 2.2.1, both compiled with VC8<br>as well, my truetype labels suddenly have no outlinecolor anymore. When<br>I change the outputformat back to use GD for rendering, everything is<br>
fine. I can reproduce this behavior on two different machines, even<br>through shp2img with a basic mapfile having just an annotation layer.<br><br>Funny thing is, and I came up with this more by chance than anything,<br>
when I disable compiler optimizations by tweaking <a href="http://Makefile.vc">Makefile.vc</a> to pass<br>/Od instead of /Ox to the compiler for mapagg.cpp only (all other files<br>and libraries, including agg, are compiled with optimizations on) I&#39;m
<br>able to get my outlinecolors working again. This smells a lot like a<br>compiler bug to me. If some Windows folks out there can perhaps confirm<br>this, I&#39;m ready to file a bug report on this, in order to at least tweak
<br>the Windows makefile (well, I guess that&#39;s most likely the only thing we<br>can do about this).<br><br>Best regards,<br>--<br>--------------------------------------------------------------------<br>Andreas Albarello
<br>Analysis &amp; SW Development<br><br>Territorium Online srl/GmbH<br>Via Buozzi Str. 12<br>I 39100 Bolzano/Bozen<br><br>Phone:&nbsp;&nbsp;+39 0471 068611<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp;+39 0471 068619<br><br>email: <a href="mailto:andreas.albarello@territoriumonline.com">
andreas.albarello@territoriumonline.com</a><br>web:&nbsp;&nbsp; <a href="http://www.territoriumonline.com">http://www.territoriumonline.com</a><br>--------------------------------------------------------------------<br></blockquote>
</div><br>