Special characters in annotations

Stephen Davies sdc at SDC.COM.AU
Mon Jan 30 19:13:51 EST 2006


G'day Wim.

The secret seems to be that the annotation MUST use a true-type font.
If I add that to my definition, it works as you said.

Cheers and thanks,
Stephen

On Monday 30 January 2006 21:07, you wrote:
> Hi Stephen,
>
> That's strange, i got the remark from this link:
> http://freegis.org/pipermail/mapserver-de/2004-May/000271.html
>
> In my mapfile it is working allright:
>
> LAYER
>   NAME Copyright
>   TYPE annotation
>   STATUS DEFAULT
>   TRANSFORM OFF
>   LABELCACHE on
>   FORCE true
>   CLASS
>     TEXT '© 2000 Minnesota DNR'
>     LABEL
>       POSITION lr
>       TYPE TRUETYPE
>       FONT verdana
>       COLOR 255 255 255
>       OUTLINECOLOR 155 155 155
>       SIZE 10
>     END
>   END
>   FEATURE
>     POINTS 10 10 END
>   END
> END #LAYER
>
> Regards,
>
> Wim Blanken
>
> -----Original Message-----
> From: Stephen Davies [mailto:sdc at sdc.com.au]
> Sent: maandag 30 januari 2006 9:40
> To: UMN MapServer Users List
> Cc: Wim Blanken
> Subject: Re: Special characters in annotations
>
> G'day Wim.
>
> Your suggested "©" works in symbols but does not seem to work in
> annotations. I just see © rather than a copyright symbol.
>
> Can you give me the URL that you found?
>
> Cheers,
> Stephen
>
> On Sunday 29 January 2006 16:31, MAPSERVER-USERS automatic digest
> system
>
> wrote:
> > Date:    Sat, 28 Jan 2006 09:47:54 +0100
> > From:    Wim Blanken <w.blanken at GEON.NL>
> > Subject: Re: Special characters in annotations
> >
> > Hi Stephen,
> >
> > Googled it and this came forward:
> >
> > TEXT '&#169; 2000 Minnesota DNR'
> >
> > Regards,
> >
> > Wim Blanken
> > The Netherlands
>
> --
> =====================================================================
>=== This email is for the person(s) identified above, and is
> confidential to the sender and the person(s).  No one else is
> authorised to use or disseminate this email or its contents.
>
> Stephen Davies Consulting                            Voice: 08-8177
> 1595 Adelaide, South Australia.                             Fax:
> 08-8177 0133 Computing & Network solutions.                      
> Mobile:0403 0405 83

-- 
 =======================================================================
This email is for the person(s) identified above, and is confidential to
the sender and the person(s).  No one else is authorised to use or
disseminate this email or its contents.

Stephen Davies Consulting                            Voice: 08-8177 1595
Adelaide, South Australia.                             Fax: 08-8177 0133
Computing & Network solutions.                       Mobile:0403 0405 83



More information about the mapserver-users mailing list