[Date Prev][Date Next] [Chronological] [Thread] [Top]

[mapserver-users] Font Error:msGetLabelSize()





Hi all,
I have compiled mapserver 3.5 on Win XP with Freetype 2 but when I tested my project I have this error:

msGetLabelSize(): TrueType Font error. Could not find/open font

Before, I used your mapserver precompiled and my project worked correctly with truetype font.


This is my fonts file (fonts.txt):
arial arial.ttf
timesbd timesbd.ttf


In FONTSET I have setted the correct path:
FONTSET "data/fonts.txt"
Because I have copied fonts in this directory of my project.


And this is an example of label in my layer:
LABEL
COLOR 0 0 0
FONT arial
TYPE TRUETYPE
SIZE 8
ANTIALIAS TRUE
POSITION AUTO
ANGLE AUTO
MINFEATURESIZE 40
MINDISTANCE 100
PARTIALS FALSE
BUFFER 3
END #LABEL

Are there some errors?
Any helps is appreciated.
Ivan

_________________________________________________________________
MSN Hotmail è il provider email più grande al mondo… cosa aspetti a farti un account? http://www.hotmail.it