[mapserver-users] line layer label angle changes

Igor Marinovic zi at manufacture.co.yu
Fri Sep 20 05:20:38 PDT 2002


Hi, 

I had similar problems with PHP MapScript. Actually, the labels were not 
rotated randomly around label point. Every letter was rotated once again for 
LABELANGLEITEM. I tried several version of freetype, downgrade the 
freetype without success. 

The solution is compiling the PHP without ttf support. Actually, this
is mentioned in the PHP MapScript FAQ :)

Hope that this will help to someone.

Thanks, 

Igor


On Fri, Sep 20, 2002 at 11:45:35AM +0200, Sandor Csaba wrote:
> Hi All,
> 
> I want to label streets with their names. It works fine on my windows box 
> (downloaded binaries: ms36gif_gdal_pg_wms.zip). On a Solaris box (the real 
> Internet server, mapserv 3.6.1 CGI, Freetype2, PNG support) the labels are 
> randomly rotated around the same label point.
> 
> Anybody had similar problems? Can this be a Freetype1 vs. 2 issue?
> 
> I use the following label definition in the mapfile
> 
> LABEL
> 	COLOR 0 0 0
> 	TYPE TRUETYPE
> 	FONT arial
> 	SIZE 10
> 	ANTIALIAS true
> 	POSITION AUTO
> 	PARTIALS TRUE
> 	MINFEATURESIZE 1
> 	FORCE FALSE
> 	BUFFER 3
> 	ANGLE AUTO
> END
> 
> Thanks,
> Csaba
> 
> -
> {Kornyezeti Management es Jog Egyesulet
> {Environmental Management and Law Association
> {www.emla.hu
> {1076 Budapest
> {Garay u. 29-31
> {Hungary
> {Tel/fax: 36-1-3228462, 36-1-3529925
> {Mobil: 06-20-949-1447
> 
> 



More information about the MapServer-users mailing list