<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Comic Sans MS">
<DIV>I don't think that BITMAP fonts are supported for AGG,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is the Legend def from the Googlish Mapfile I put together a couple of weeks ago.</DIV>
<DIV>&nbsp;</DIV>
<DIV>LEGEND<BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;&nbsp;KEYSPACING 5 10<BR>&nbsp;&nbsp;KEYSIZE 20 12<BR>&nbsp;&nbsp;IMAGECOLOR 255 255 255<BR>&nbsp;&nbsp;LABEL<BR>&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT bluehigh<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 254 254 254<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 12<BR>&nbsp;&nbsp;END<BR>&nbsp;END</DIV>
<DIV>&nbsp;</DIV>
<DIV>The above combined with a separate section in the mapfile dedicated to the Legends generates this graphic:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_shields_googlish_agg_public.map-4.99-pwcs-01?mapext=335538.0886426592 -11724.376731301949 719547.783933518 343275.62326869805&amp;mapsize=781 722&amp;mode=legend">http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_shields_googlish_agg_public.map-4.99-pwcs-01?mapext=335538.0886426592 -11724.376731301949 719547.783933518 343275.62326869805&amp;mapsize=781 722&amp;mode=legend</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Which is a 24 bit png with transparent background (no IE 6 happy)</DIV>
<DIV>&nbsp;</DIV>
<DIV>bobb</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV align=center><STRONG><FONT size=6><FONT size=1></FONT>&nbsp;</DIV>
<DIV align=right>
<TABLE cols=3 align=center bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD align=right>
<DIV><STRONG><FONT size=6></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG>Bob Basques</STRONG></DIV>
<DIV><STRONG><FONT size=2><A href="http://gis.ci.stpaul.mn.us/">GIS</A> Systems Developer</FONT></STRONG></DIV>
<DIV><STRONG><FONT size=1><A href="http://www.ci.stpaul.mn.us/">City of Saint Paul, MN</A></FONT></STRONG></DIV></TD>
<TD><BR><A href="http://gis.ci.stpaul.mn.us/"><IMG alt="Moose Powered GISMO" hspace=0 src="cid:BNXWKWACMAZH.IMAGE_86.gif" align=middle border=0></A></TD>
<TD>
<DIV><STRONG><FONT size=6></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT size=6><A href="http://gis.ci.stpaul.mn.us/"><FONT size=5>GISmo</FONT></A> </FONT></STRONG></DIV>
<DIV align=center><FONT size=2>Powered by</FONT></DIV>
<DIV align=center><STRONG><A href="http://www.geomoose.org/moose/"><FONT size=2>GeoMOOSE</FONT></A></STRONG></DIV></TD></TR></TBODY></TABLE></DIV></FONT></STRONG>
<DIV align=center>&nbsp;</DIV><A href="http://gis.ci.stpaul.mn.us/"></A><BR><BR>&gt;&gt;&gt; "Hunter, David - St. Louis Park, MN" &lt;David.Hunter@FNIS.COM&gt; wrote:<BR></DIV>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">Here's my legend section:<BR><BR>LEGEND<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; KEYSIZE 22 22<BR>&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE SMALL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 89<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; TEMPLATE "nyptmaps_legend.htm"<BR>END<BR><BR>It looks like GD is drawing the legend symbols, because the lines are<BR>very coarse, and the hatching problem that I talked about in another<BR>email is not present.<BR><BR><BR>-----Original Message-----<BR>From: thomas bonfort [mailto:thomas.bonfort@gmail.com]=20<BR>Sent: Wednesday, February 06, 2008 1:09 PM<BR>To: Hunter, David - St. Louis Park, MN<BR>Cc: MAPSERVER-USERS@lists.umn.edu<BR>Subject: Re: [UMN_MAPSERVER-USERS] AGG and legends<BR><BR>legends are drawn with agg to. please post the relevant sections of<BR>your mapfile to see what could be going wrong.<BR>regards,<BR>thomas<BR><BR>On Feb 6, 2008 6:51 PM, Hunter, David - St. Louis Park, MN<BR>&lt;David.Hunter@fnis.com&gt; wrote:<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; While experimenting with AGG, it appears that the legend is still<BR>drawn<BR>&gt; using GD, no matter what the OUTPUTFORMAT settings are.&nbsp; Is this<BR>&gt; intentional?<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; David S. Hunter<BR>&gt;&nbsp; Lead Software Engineer<BR>&gt;&nbsp; Fidelity National Geographic Solutions<BR>&gt;&nbsp; division of Fidelity National Information Services<BR>&gt;&nbsp; 5353 Gamble Drive, Suite 201<BR>&gt;&nbsp; St. Louis Park, MN 55416<BR>&gt;&nbsp; Email: david.hunter@fnis.com<BR>&gt;&nbsp; Phone: 952.542.1440 ext. 256<BR>&gt;&nbsp; Fax: 952.542.3859<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR></DIV></BODY></HTML>