Once again: Truetype symbols
tchaddad at CSHORE.COM
Wed Sep 22 12:04:27 EDT 2004
did you try something like this in your map file:
Name "Arbres isol=E9s"
Color 255 0 0
I think STYLE is mandatory for Mapserver 4.x
On Tue, 21 Sep 2004 10:13:54 +0200, Frank Broniewski
<Frank.Broniewski at MNHA.ETAT.LU> wrote:
>I am trying to use some characters from esris ttf fonts for my map. But I
>only get squares as symbols, not the expected Treesymbol. I even tried to
>use the arial font, but even there I get only squares. Does anybody have a
>clue what this is about? I tried changing fonts, renaming the fonts, tried
>using the Ascii codes instead of typing the letter but nothing helped.
>I did search the archives for such behavior, but the tips mentioned there
>(moving the symbols to symbol file) did not help.
>I run mapserver on Windows Xp Home with Sp2, Apache 2.0.50 and PHP 4.3.8
>installed. Mapserver Version is 4.2.1, PHP Map Script info from phpinfo()
>$Revision: 126.96.36.199 $ $Date: 2004/07/07 19:37:19 $
>I created a symbol definition file which contains my "symbol". Here is the
> NAME "Tree"
> TYPE TRUETYPE
> FONT forest2
> FILLED TRUE
> ANTIALIAS TRUE
> CHARACTER "j"
>In the fontlist I defined the font forest2:
>In the mapfile I call the symbol with the following lines of code:
> Name "Arbres isolés"
> Template "dasistegal.html"
> Symbol "Tree"
> Color 255 0 0
> Size 50
>Musée National d'Histoire et d'Art
>Section Préhistoire / Projet EPC
More information about the mapserver-users