<pre style="margin: 0em;">To all:<br><br></pre><tt>Is there a method for applying Superscript and subscript to a TT font character in a
</tt><tt>mapfile?
</tt><pre style="margin: 0em;">thanks</pre><br><br><div><span class="gmail_quote">2008/3/2, <a href="mailto:ka-map-users-request@lists.maptools.org">ka-map-users-request@lists.maptools.org</a> <<a href="mailto:ka-map-users-request@lists.maptools.org">ka-map-users-request@lists.maptools.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send ka-Map-users mailing list submissions to<br> <a href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</a><br> <br> To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
or, via email, send a message with subject or body 'help' to<br> <a href="mailto:ka-map-users-request@lists.maptools.org">ka-map-users-request@lists.maptools.org</a><br> <br> You can reach the person managing the list at<br>
<a href="mailto:ka-map-users-owner@lists.maptools.org">ka-map-users-owner@lists.maptools.org</a><br> <br> When replying, please edit your Subject line so it is more specific<br> than "Re: Contents of ka-Map-users digest..."<br>
<br> <br> Today's Topics:<br> <br> 1. Re: Ka-map and AGG? (Lorenzo Becchi)<br> <br> <br> ----------------------------------------------------------------------<br> <br> Message: 1<br> Date: Fri, 29 Feb 2008 22:53:54 +0100<br>
From: Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</a>><br> Subject: Re: [ka-Map-users] Ka-map and AGG?<br> To: Sacha Black <<a href="mailto:sacha.black@gmail.com">sacha.black@gmail.com</a>><br>
Cc: <a href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</a><br> Message-ID: <<a href="mailto:47C87EF2.1000200@ominiverdi.com">47C87EF2.1000200@ominiverdi.com</a>><br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br> lovely, thanks<br> :-)<br> <br> I've updated CVS<br> <br> Lorenzo<br> <br> <br> <br> <br> Sacha Black wrote:<br> > Hi Lorenzo,<br> ><br> > I've tested what you sent, and there are two corrections (see the<br>
> ////// comments below):<br> ><br> > case "AGGA":<br> > $GLOBALS['szMapImageFormat'] = 'AGGA';<br> > $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";<br>
> $GLOBALS['szImageExtension'] = '.png';<br> > $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor"; /////<br> > <-- not 'imagecreate'<br> > $GLOBALS['szImageOutputFunction'] = "imagepng";<br>
> $GLOBALS['szImageHeader'] = 'image/png';<br> > break;<br> ><br> > case "AGG_JPEG":<br> > $GLOBALS['szMapImageFormat'] = 'JPEG';<br> > $GLOBALS['szMapImageCreateFunction'] = "imagecreatefromjpeg";<br>
> $GLOBALS['szImageExtension'] = '.jpg';<br> > $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor";<br> > $GLOBALS['szImageOutputFunction'] = "imagejpeg"; ///// <-- not 'imagejpg'<br>
> $GLOBALS['szImageHeader'] = 'image/jpeg';<br> > break;<br> ><br> > With these 2 corrections, everything works as expected.<br> ><br> > thanks,<br> ><br> > Sacha<br> ><br> ><br>
> On Sun, Feb 24, 2008 at 1:07 PM, Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</a>> wrote:<br> ><br> ><br> >> Hi Sasha,<br> >> it seems to me it should work.<br>
>><br> >> I've set the outputformats as suggested by this page:<br> >> <a href="http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics">http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics</a><br>
>><br> >> then I've set LAYER's METADATA<br> >> imageformat "AGGA"<br> >><br> >> seems to me, it didn't worked until I've not changed config.php with<br> >> this lines:<br>
>><br> >> case "AGG":<br> >> $GLOBALS['szMapImageFormat'] = 'PNG';<br> >> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";<br>
>> $GLOBALS['szImageExtension'] = '.png';<br> >> $GLOBALS['szImageCreateFunction'] = "imagecreate";<br> >> $GLOBALS['szImageOutputFunction'] = "imagepng";<br>
>> $GLOBALS['szImageHeader'] = 'image/png';<br> >> break;<br> >> case "AGGA":<br> >> $GLOBALS['szMapImageFormat'] = 'AGGA';<br>
>> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";<br> >> $GLOBALS['szImageExtension'] = '.png';<br> >> $GLOBALS['szImageCreateFunction'] = "imagecreate";<br>
>> $GLOBALS['szImageOutputFunction'] = "imagepng";<br> >> $GLOBALS['szImageHeader'] = 'image/png';<br> >> break;<br> >> case "AGG_JPEG":<br>
>> $GLOBALS['szMapImageFormat'] = 'JPEG';<br> >> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefromjpeg";<br> >> $GLOBALS['szImageExtension'] = '.jpg';<br>
>> $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor";<br> >> $GLOBALS['szImageOutputFunction'] = "imagejpg";<br> >> $GLOBALS['szImageHeader'] = 'image/jpeg';<br>
>> break;<br> >><br> >><br> >> I've tested only<br> >> AGGA<br> >><br> >> can you please do some more tests?<br> >><br> >> once confirmed I'll post changes on CVS<br>
>><br> >> thanks<br> >> Lorenzo<br> >><br> >><br> >><br> <br> <br> ------------------------------<br> <br> _______________________________________________<br> ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br> <br>
<br> End of ka-Map-users Digest, Vol 35, Issue 1<br> *******************************************<br> </blockquote></div><br>