I&#39;m all for incorporating agg_font_freetype.cpp and .h int the mapserver source tree and adding agg_font_freetype.o to the OBJS... we can always find a better solution when/if the antigrain guys change their builds<br>
tb<br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Steve Lime</b> &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</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;">
Do we dare require folks to hack other libs build assets? I&#39;m worried about turning folks<br>off of the AGG support simply because it&#39;s so friggin&#39; hard to get freetype working. Could<br>we detect freetype support in AGG and enable it in MapServer, otherwise fall back to the
<br>GD font rendering? It&#39;s not a terrible alternative and better than 100&#39;s of emails to MapServer<br>users.<br><br>Steve<br><br>&gt;&gt;&gt; On 8/7/2007 at 11:03 AM, in message &lt;<a href="mailto:46B897C3.2060908@pobox.com">
46B897C3.2060908@pobox.com</a>&gt;, Frank<br>Warmerdam &lt;<a href="mailto:warmerdam@POBOX.COM">warmerdam@POBOX.COM</a>&gt; wrote:<br>&gt; Kralidis,Tom [Burlington] wrote:<br>&gt;&gt;<br>&gt;&gt; I added -laggfontfreetype to AGG_LIB (thanks Thomas!) in Makefile and
<br>&gt;&gt; everything built fine.&nbsp;&nbsp;Apparently Frank is working on this one.<br>&gt;<br>&gt; Tom,<br>&gt;<br>&gt; I have updated mapserver to include -laggfreetype in the link.&nbsp;&nbsp;But<br>&gt; this means that folks building agg themselves from source will be
<br>&gt; obligated to create a libaggfreetype.a in their agg-2.4/src directory.<br>&gt;<br>&gt; I *think* adding the following target to agg-2.4/src/Makefile, and then<br>&gt; invoking &quot;make libs&quot; should do the trick.
<br>&gt;<br>&gt; libs: all ../font_freetype/agg_font_freetype.o<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(LIB) libaggfreetype.a ../font_freetype/agg_font_freetype.o<br>&gt;<br>&gt; Ah yes, you also still need to add `freetype-config --cflags` or equivelent
<br>&gt; in CXXFLAGS.<br>&gt;<br>&gt; Best regards,<br></blockquote></div><br>