Font error

Murat BEYHAN beyhan at DEPREM.GOV.TR
Tue Sep 26 08:42:05 EDT 2006


Hi frieds;
I would like to try the copyright text on my map by using following   
LAYER
  NAME copyright
  STATUS DEFAULT
  TYPE annotation
  TRANSFORM false
  FEATURE
    POINTS
      260 450 #this is the position of the text in image coordinates (pixels)
    END
    TEXT "© xyz company 2006" #this is your displaying text
  END   
  CLASS
    LABEL #defines the font, colors etc. of the text
      FONT arial
      TYPE truetype
      SIZE 8
      BUFFER 1
      COLOR 255 0 0
      BACKGROUNDCOLOR 255 255 255
      FORCE TRUE
    END
  END 
END

then I have got this error message. I was configured Mapserver with freetype
but Why I have faced this error and how can I solve.
Regards...

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

[murat at sakura ~]$ mapserv -v
MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=THREADS INPUT=TIFF
INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
[murat at sakura ~]$

Murat

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the mapserver-users mailing list