Question about fonts?

bfischer at usgs.gov bfischer at usgs.gov
Fri Feb 11 09:15:01 PST 2000


I am very new to the mapserver and am starting to play around with things.
I ran into a problem with the fonts.  I am using the NT version of
Mapserver running under Windows NT IIS.  This is the error I get from the
mapserv.exe:

msGetLabelSize(): TrueType Font error. Requested font (arial) not found

I figure I don't have the fonts set  or put where they need to be.  Here is
the map file I am using.

NAME MAJOR_BASINS
EXTENT 74000 4775000 798000 5500000
SIZE 400 400
UNITS meters

       WEB
         TEMPLATE major_watershed.htm
       END

       LEGEND
        STATUS ON
        LABEL
          TYPE TRUETYPE
          FONT arial
          COLOR 0 0 0
          SIZE 12
          ANTIALIAS
        END
       END

       SCALEBAR
         STATUS ON
         INTERVALS 4
         SIZE 200 2
         COLOR 0 0 0
         OUTLINECOLOR 0 0 0
         UNITS MILES
         LABEL
           COLOR 0 0 0
           SIZE small
         END
        END

       REFERENCE
         STATUS ON
         IMAGE reference_major.gif
         SIZE 150 150
         EXTENT 125105 4785412 788393 5488749
         COLOR -1 -1 -1
         OUTLINECOLOR 255 0 0
       END

       LAYER
         NAME "major_basins"
         DATA major_basins
         STATUS DEFAULT
         TYPE POLYGON
         CLASS
           NAME "Major Basin Delineations"
           OUTLINECOLOR 0 0 0
           COLOR 250 175 25
         END
       END

       LAYER
         NAME "county"
         DATA ctybdln2
         STATUS DEFAULT
         TYPE LINE
         CLASS
           NAME "County Boundaries"
           COLOR 128 128 128
         END
       END
END

Thanks,

Brian Fischer
bfischer at usgs.gov
USGS WRD
2280 Woodale Dr.
Mounds View, MN
(612) 783-3133





More information about the MapServer-users mailing list