<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> </DIV>
<DIV>Here is the Legend def from the Googlish Mapfile I put together a couple of weeks ago.</DIV>
<DIV> </DIV>
<DIV>LEGEND<BR> STATUS ON<BR> KEYSPACING 5 10<BR> KEYSIZE 20 12<BR> IMAGECOLOR 255 255 255<BR> LABEL<BR> TYPE TRUETYPE<BR> FONT bluehigh<BR> COLOR 0 0 0<BR> OUTLINECOLOR 254 254 254<BR> SIZE 12<BR> END<BR> END</DIV>
<DIV> </DIV>
<DIV>The above combined with a separate section in the mapfile dedicated to the Legends generates this graphic:</DIV>
<DIV> </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&mapsize=781 722&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&mapsize=781 722&mode=legend</A></DIV>
<DIV> </DIV>
<DIV>Which is a 24 bit png with transparent background (no IE 6 happy)</DIV>
<DIV> </DIV>
<DIV>bobb</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV align=center><STRONG><FONT size=6><FONT size=1></FONT> </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> </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> </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> </DIV><A href="http://gis.ci.stpaul.mn.us/"></A><BR><BR>>>> "Hunter, David - St. Louis Park, MN" <David.Hunter@FNIS.COM> 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> STATUS ON<BR> KEYSIZE 22 22<BR> LABEL<BR> TYPE BITMAP<BR> SIZE SMALL<BR> COLOR 0 0 89<BR> END<BR> 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><David.Hunter@fnis.com> wrote:<BR>><BR>><BR>><BR>><BR>> While experimenting with AGG, it appears that the legend is still<BR>drawn<BR>> using GD, no matter what the OUTPUTFORMAT settings are. Is this<BR>> intentional?<BR>><BR>><BR>><BR>><BR>><BR>> David S. Hunter<BR>> Lead Software Engineer<BR>> Fidelity National Geographic Solutions<BR>> division of Fidelity National Information Services<BR>> 5353 Gamble Drive, Suite 201<BR>> St. Louis Park, MN 55416<BR>> Email: david.hunter@fnis.com<BR>> Phone: 952.542.1440 ext. 256<BR>> Fax: 952.542.3859<BR>><BR>><BR>><BR>><BR>><BR>><BR></DIV></BODY></HTML>