andreas, the outlining code for fonts is merely about drawing the same text offset by one pixel in each direction (N, NE, E, etc ). I'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.
tb On 8/20/07, Andreas Albarello <[EMAIL PROTECTED]> wrote: > > Folks, > > some strange things are happening here with MapServer 5.0 beta 4 (as > well as all the previous betas) regarding AGG truetype label rendering. > > For instance, when compiling MapServer with VC8, more precisely Visual > C++ 2005 Express SP1, against agg 2.4 (compiled with the makefile > provided by Jeff McKenna) and libfreetype 2.2.1, both compiled with VC8 > as well, my truetype labels suddenly have no outlinecolor anymore. When > I change the outputformat back to use GD for rendering, everything is > fine. I can reproduce this behavior on two different machines, even > through shp2img with a basic mapfile having just an annotation layer. > > Funny thing is, and I came up with this more by chance than anything, > when I disable compiler optimizations by tweaking Makefile.vc to pass > /Od instead of /Ox to the compiler for mapagg.cpp only (all other files > and libraries, including agg, are compiled with optimizations on) I'm > able to get my outlinecolors working again. This smells a lot like a > compiler bug to me. If some Windows folks out there can perhaps confirm > this, I'm ready to file a bug report on this, in order to at least tweak > the Windows makefile (well, I guess that's most likely the only thing we > can do about this). > > Best regards, > -- > -------------------------------------------------------------------- > Andreas Albarello > Analysis & SW Development > > Territorium Online srl/GmbH > Via Buozzi Str. 12 > I 39100 Bolzano/Bozen > > Phone: +39 0471 068611 > Fax: +39 0471 068619 > > email: [EMAIL PROTECTED] > web: http://www.territoriumonline.com > -------------------------------------------------------------------- >