[mapserver-users] Truetype symbols won't render in AGG png?

thomas bonfort thomas.bonfort at gmail.com
Fri Apr 18 06:56:40 PDT 2008


can you include your symbol and layer definition please?
what version are you using? ms4w , ... ? do you have the possibility
of using a locally compiled version from the development branch (ie
trunk)?

regards,
thomas

On Fri, Apr 18, 2008 at 2:55 PM, Barend Kobben <kobben at itc.nl> wrote:
> Hi,
>
>  Since upgrading to 5 and using the AGG renderer for antialiassed PNG, my
>  truetype font symbols won't render properly.
>
>  See
>  http://geoserver.itc.nl/cgi-bin/mapserv.exe?map=D:/Inetpub/geoserver/mapserv
>  er/config.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=forest,railroa
>  d,airports&SRS=EPSG:4326&BBOX=97.35,5.61,105.64,20.47&WIDTH=400&HEIGHT=600&F
>  ORMAT=image/png
>
>  When requesting the same as jpeg (change image/png to image/jpeg in the URL)
>  the symbols are there again, but now of course no nice anti-aliassing...
>
>  Both worked fine in 4.10, I changed nothing in my mapfile, other then adding
>  in the beginning:
>
>     IMAGETYPE PNG24 ## employ AGG to for anti-aliassing
>     OUTPUTFORMAT
>      NAME 'AGG'
>      DRIVER AGG/PNG
>      MIMETYPE "image/png"
>      IMAGEMODE RGB
>      EXTENSION "png"
>     END
>
>  As indicated on the AGG rendering page on the website.
>
>  Strangely enough the legend labels, which are also truetype, work fine...
>
>
>  --
>  Barend Köbben
>  International Institute for Geo-Information
>  Sciences and Earth Observation (ITC)
>  PO Box 6
>  7500AA Enschede, The Netherlands
>  +31 (0)53 4874253
>
>
>
>  International Institute for Geo-Information Science and Earth Observation (ITC)
>  Chamber of Commerce: 410 27 560
>
>  E-mail disclaimer
>  The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.
>  _______________________________________________
>  mapserver-users mailing list
>  mapserver-users at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list