AGG update and possible breakage

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Aug 6 09:07:31 EDT 2007


Should this be added as a configure option? ie: use it if agg is 
selected and the libaggfontfreetype or the .h is included in the 
distribution, otherwise fall back on GD by using #ifdef's.

-Steve

thomas bonfort wrote:
> update:
> ubuntu's distribution of agg includes the header file, and all goes well 
> if I add -laggfontfreetype to the LIBS
> 
> On 8/6/07, *thomas bonfort* <thomas.bonfort at gmail.com 
> <mailto:thomas.bonfort at gmail.com>> wrote:
> 
>     hi devs
>     AGG rendering is now mostly complete, including font rendering.
>     the agg source distribution includes a freetype font manager that is
>     not built by default and not included in the main source/include
>     directories, but in the font_freetype subdir. For font rendering to
>     work, I've pulled agg_font_freetype.cpp and .h into the mapserver
>     directory, as there are high chances that distribution releases of
>     AGG will not include the agg_font_freetype.o in their libagg or
>     agg_font_freetype.h in their headers.
>     After discussing this with frank, due to the non negligeable risks
>     of breaking things, I'll be waiting for your feedback/comments/etc..
>     on this before commiting all this.
> 
>     thomas
> 
> 



More information about the mapserver-dev mailing list