Weird TrueType labeling issue.
Trevor Banister
Banister at BANISTER.COM
Tue Mar 14 20:50:40 PST 2000
Thanks Steve, that did the trick. I was compiling for NT and didn't have
USE_GD_1_2 defined.
P.S. Your new tree index function works great!
Trevor
-----Original Message-----
From: Stephen Lime [mailto:steve.lime at dnr.state.mn.us]
Sent: Tuesday, March 14, 2000 8:27 PM
To: Banister at BANISTER.COM; mapserver-users at lists.gis.umn.edu
Subject: Re: Weird TrueType labeling issue.
This is a GD version mismatch problem. GD 1.3 and higher use a row major
(i.e. pixel[y][x]) scheme for storing the images. There is code to handle
this if the appropriate preprocessor variables are set. Did you edit
Makefiles in both ms_3.3.008 and ms_3.3.00/gdft? Could also be extraneous
versions of GD installed on your machine.
Steve
<<< Trevor Banister <Banister at BANISTER.COM> 3/14 5:39p >>>
I'm working on street labeling (Auto Position, Auto Angle, etc.) and ran
into a weird TrueType labeling issue.
When I switch from bitmap to TrueType in 3.3.008 it looks like the label
overlay is rotated 90 degrees and mirrored.
Any thoughts?
Trevor
Weird TTF version at:
http://216.150.214.7/cgi-bin/mapserver.exe?mode=browse&layer=lakes&layer=str
eams&layer=secondary_roads&zoomdir=1&zoomsize=5&imgxy=299.5+299.5&imgext=491
230.829713+4386835.221426+496522.493513+4392126.885251&map=D%3A%5Cinetpub%5C
maps%5Cdemo.map&img.x=333&img.y=308
Normal Bitmapped version at:
http://216.150.214.7/cgi-bin/mapserver.exe?mode=browse&layer=lakes&layer=str
eams&layer=secondary_roads&zoomdir=0&zoomsize=5&imgxy=299.5+299.5&imgext=493
643.439703+4388876.796568+494701.772463+4389935.129333&map=D%3A%5Cinetpub%5C
maps%5CdemoB.map&img.x=215&img.y=387
LAYER
NAME secondary_roads
TYPE LINE
STATUS OFF
DATA coroadsz13
MAXSCALE 500000000
SYMBOLSCALE 24000
LABELITEM "Fename"
CLASS
NAME "Secondary Roads"
COLOR 212 212 212
SYMBOL 13
SIZE 3
MAXSIZE 4
LABEL
BACKGROUNDCOLOR 200 255 255
COLOR 30 94 94
TYPE TRUETYPE
ANTIALIAS
FONT times
POSITION AUTO
MINFEATURESIZE AUTO
ANGLE AUTO
WRAP " "
END # Label
END
END # Layer
More information about the MapServer-users
mailing list