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