Weird TrueType labeling issue.

Trevor Banister Banister at BANISTER.COM
Tue Mar 14 18:42:36 EST 2000


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