Question about fonts?

Pericles S. Nacionales pnaciona at gis.umn.edu
Fri Feb 11 15:59:28 EST 2000


Brian,
  I'm working on implementing Steve Lime's tutorial on Windows NT.  You can
access it from http://128.101.73.154/projects/tutorial  Your map file looks
like it needs more stuff before it works... (specify the font set, symbol
sets, Image and data paths).  Steve's tutorial goes through examples of
simple map and template files.  Hope this helps.

-Perry

Pericles S. Nacionales
Research Assistant
Department of Forest Resources
University of Minnesota

pnaciona at gis.umn.edu
(612) 625 5765
----- Original Message -----
From: <bfischer at usgs.gov>
To: <mapserver-users at lists>
Sent: Friday, February 11, 2000 11:15 AM
Subject: Question about fonts?


> 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