[mapserver-users] Fonts (fwd)

teb teb at mallit.fr.umn.edu
Mon Nov 26 15:14:15 EST 2001


------------- Begin Forwarded Message -------------

From: "gabriel" <gabriel at ciasc.gov.br>
To: <mapserver-info at lists.gis.umn.edu>
Subject: Fonts
Date: Mon, 26 Nov 2001 18:15:32 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Somebody could help me? I am trying to use fonts different? 

? I used the following commands: 

NAME DEMO
STATUS ON
SIZE 600 600
SHADESET symbols/shade.sym
MARKERSET symbols/marker.sym
LINESET symbols/line.sym
#EXTENT 388107.634400379 5203120.88405952 900896.339019834 5310243.30613897
#EXTENT 407.634400379 7153120.88405952 900896.339019834 7250243.30613897
EXTENT 218917 6752635 761146 7127124
UNITS METERS
SHAPEPATH "data"
IMAGECOLOR 255 255 255
FONTSET "/usr/local/apache/htdocs/ms_demo/fonts"
...
...
...
LAYER
  NAME rodoviapavnome
  TYPE ANNOTATION
  LABELITEM "cd_rodovia"
  CLASSITEM "cd_rodovia"
  DATA rodovia_pav_polyline
  STATUS ON
  CLASS
    EXPRESSION /./
    COLOR -1 -1 -1
    LABEL
      COLOR 0 0 0
      SHADOWCOLOR 218 218 218
      SHADOWSIZE 2 2
      TYPE truetype
      FONT arial  # (or "arial")
      POSITION CC
      PARTIALS FALSE
      BUFFER 2
    END
  END
END
...
...
...
The result is "msGetLabelSize(): TrueType Font error. Requested font (arial) not 
found. "

I put the fonts and the "font.list" in the same directory (FONTSET 
"/usr/local/apache/htdocs/ms_demo/fonts").

Tanks.

Gabriel
Fpolis, SC, Brazil

------------- End Forwarded Message -------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011126/093f1284/attachment.html


More information about the mapserver-users mailing list