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

Re: [mapserver-users] Font Error:msGetLabelSize()



Hi,
I have tried to insert the paths absolut but I have same error (msGetLabelSize()....).
Now this is my font file:

arial C:/windows/fonts/arial.ttf
timesbd C:/windows/fonts/timesbd.ttf

I have also tried with backslash (I know that it isn't correctly) and I haven't solved my problem.
Other idea?
Ivan


From: woodbri@swoodbridge.com
Reply-To: woodbri@swoodbridge.com
To: "Ivan Paoluzzi" <tesimap@hotmail.com>, mapserver-users@lists.gis.umn.edu
Subject: Re: [mapserver-users] Font Error:msGetLabelSize()
Date: Tue, 1 Oct 2002 13:49:36 -0400

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
>



_________________________________________________________________
Specisci e ricevi le tue email Hotmail dal tuo cellulare con: http://mobile.msn.it