id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
271	Problem with background transparency (labels on maps)	havard.tveite@…	warmerdam	"{{{
Frank Warmerdam wrote:
>I see.  It looks like background transparency is broken.  I would appreciate
>your filing a bug in Bugzilla on this including a minimal map file for
>producing the problem (ideally one with inline labels).

The problem is with IMAGETYPE png24 (OUTPUTFORMAT NAME png24 DRIVER ""GD/PNG""
IMAGEMODE RGBA TRANSPARENT ON END).
White space shows up in and around the characters in labels when displayed
on a map. With IMAGETYPE png things are OK.

I do not know much about this, and the mistake may be mine.

I include a minimum(?) map file.
MAP
  NAME test
  IMAGETYPE png24
  #IMAGETYPE png
  OUTPUTFORMAT
    NAME png24
    DRIVER ""GD/PNG""
    IMAGEMODE RGBA
    TRANSPARENT ON
  END
  SIZE 400 400
  EXTENT 0 6000000 1000000 8000000
  UNITS meters
  FONTSET /home/www/lib/fonts/font.list
  WEB
    IMAGEPATH ""/home/ikf/ikfht/pub_html/mapserver/tmp/""
    IMAGEURL ""/~ikfht/mapserver/tmp/""
    TEMPLATE /home/ikf/ikfht/pub_html/mapserver/o-kart/okart-37.html
  END #web

  SYMBOL
    NAME ""circle""
    TYPE ellipse
    FILLED true
    POINTS 1 1 END
  END

  LAYER
    NAME fonttest
    TYPE POINT
    STATUS DEFAULT
    FEATURE
      POINTS 450000 6500000 END
      TEXT ""BIG_AND_small test""
    END
    CLASS
      LABEL
        COLOR 0 0 0
        BACKGROUNDCOLOR 200 200 100
        FONT arial
        TYPE truetype
        SIZE 20
      END
    END # CLASS
  END

END
}}}"	defect	closed	high		MapServer CGI	4.0	normal	fixed		michael.smith@…
