When composing polygon symbols using a background colour
and a foreground pattern in a different colour using AGG,
there will be a 1 pixel outline in the background colour
also where the border passes through the foreground
pattern.
This is not correct behaviour - outlines shall be
specified explicitly.
Example (only rectangular polygons, but the same
effect can be seen for all polygons):
http://gis.umb.no/cgi-bin/mapserv_5.2dev1?map=/users/ikf/ikfht/mapserv/tests/polyfill_whitespace.map
(you have to zoom out a bit to see all the borders...)
Here is an example of how this is specified in LAYER-> CLASS
(white pattern on yellow background):
STYLE
COLOR 255 205 114
END # style
STYLE
symbol "halvapent"
SIZE 30
COLOR 255 255 255
END # style