AGG: missing truetype label outlinecolor on Windows/VC8
Andreas Albarello
andreas.albarello at TERRITORIUMONLINE.COM
Mon Aug 20 06:43:57 PDT 2007
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: andreas.albarello at territoriumonline.com
web: http://www.territoriumonline.com
--------------------------------------------------------------------
More information about the MapServer-users
mailing list