[mapserver-users] Font Error:msGetLabelSize()

Ivan Paoluzzi tesimap at hotmail.com
Wed Oct 2 14:30:06 EDT 2002


Thanks all,
I have solved my problem with font.
But I have a new problem with label, ANGLE don't work properly.
Labels isn't in parallel at line of my layer.
Why?

This is my layer:
LAYER
  NAME assist
  TYPE LINE
  STATUS ON
  DATA assist
  TOLERANCE 8
  LABELITEM nomevia
  LABELMAXSCALE 20000
    CLASS
      NAME "Assi Stradali"
      TEMPLATE "assist.html"
	COLOR 0 0 100
        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
    END  # CLASS
  HEADER "assist_header.html"
  FOOTER "assist_footer.html"
END  # LAYER






>From: Daniel Morissette <morissette at dmsolutions.ca>
>To: Ivan Paoluzzi <tesimap at hotmail.com>
>Subject: Re: [mapserver-users] Font Error:msGetLabelSize()
>Date: Wed, 02 Oct 2002 11:00:21 -0400
>
>Ivan Paoluzzi wrote:
> >
> > 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?
>
>
>Did you try without the "C:" part?  Just in case...
>
>arial           /windows/fonts/arial.ttf
>timesbd         /windows/fonts/timesbd.ttf
>
>--
>------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
>------------------------------------------------------------
>   Don't put for tomorrow what you can do today, because if
>       you enjoy it today you can do it again tomorrow.




_________________________________________________________________
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