[mapserver-users] Font as a symbol?
Van Ulden, Joost
jvanulde at NRCan.gc.ca
Wed Jun 5 11:05:13 PDT 2002
We are having no luck trying to use a font for a symbol. The following is
the relevant code. Any suggestions would be helpful. We do not get any
errors, the symbols just don't show.
<symbol definition in mapfile>
SYMBOL
NAME "arial"
TYPE TRUETYPE
FONT arial
FILLED false
ANTIALIAS true
CHARACTER "a"
END
<layer definition in mapfile>
LAYER
NAME stories
METADATA
"DESCRIPTION" "Local Stories"
"RESULT_FIELDS" "STORY_ID"
END
TYPE POINT
STATUS DEFAULT
TOLERANCE 10
TOLERANCEUNITS pixels
CLASS
NAME "Icon_id"
TEMPLATE void
SYMBOL 'arial'
SIZE 10
COLOR 0 0 0
END
END
<fonset definition in mapfile>
FONTSET "c:/inetpub/wwwroot/digilib/mapserver/fonts/fonts.txt"
<font mapping in font.txt>
arial
c:/zinetpub/wwwroot/digilib/mapserver/fonts/ARIAL.TTF
Regards,
Joost van Ulden
Data Integration Specialist
GSC-Pacific Division
101-605 Robson St.
Vancouver, BC V6B 5J3
604.666.7525
jvanulde at nrcan.gc.ca
More information about the MapServer-users
mailing list