[mapserver-users] Rendering of Static Text is different using gd or AGG ?

Jeff McKenna jeffmckenna at gmail.com
Tue May 6 07:02:26 PDT 2008


What about using your operating system's character set?  For example  
on windows pressing ALT-0169 gives the copyright sign, and on MAC  
pressing OPTION-G.  So your mapfile snippet is:    TEXT "©"

-jeff




On 6-May-08, at 9:32 AM, Schönhammer, Herbert wrote:

> Hi list,
>
> Using gd the declaration "©"renders the "copyright"-Sign:
>
> LAYER
>   NAME "copyright"
>   REQUIRES ..
>   ...
>
>   FEATURE
>      POINTS
>       3 10
>      END
>    END
>
>  ...
>
>   CLASS
>     TEXT "© xxx"
>     LABEL
>       TYPE TRUETYPE
>       FONT 'arial'
>       SIZE 9
>       POSITION cr
>       COLOR 0 0 0
>       OUTLINECOLOR  255 255 254
>     END
>   END
>
> END # LAYER
>
>
>
> But using agg, the text ""© xxx" is rendered in the map.
>
> Please lokk at the examples !
>
> Does anybody know,
> how to render the html-code like done in gd ?
>
> Does anybody know another way to render signs like "copyright"  with  
> gd ?
>
> Thanks very much
>
> greetings
> Herbert
>
> <<gd-rendering.gif>> <<agg-rendering.gif>>
>
> <gd-rendering.gif><agg- 
> rendering.gif>_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080506/056943e3/attachment.htm>


More information about the MapServer-users mailing list