[mapserver-users] Font Error:msGetLabelSize()
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Tue Oct 1 10:49:36 PDT 2002
Try making the paths absolute in the fonts.txt like
arial /path/to/arial.ttf
-Steve
On 1 Oct 2002 at 19:24, Ivan Paoluzzi wrote:
>
>
> 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
>
>
More information about the MapServer-users
mailing list