[Mapserver-users] Labels get unreadable over background-color and -image
Steve Lime
steve.lime at dnr.state.mn.us
Fri Apr 4 08:44:52 PST 2003
Except that antialiasing is a good thing. One other thing to try would
be using the LABEL
OUTLINECOLOR. That creates a one pixel buffer around the characters.
Typically I use
white (OUTLINECOLOR 255 255 255) and this really helps the quality and
readibility of
labels.
Steve
>>> Stefan Schwarzer <stefan.schwarzer at grid.unep.ch> 04/04/03 06:28AM
>>>
Hi Michael,
yupp, that's it. When I use "ANTIALIAS false" in my map-file, the ugly
corona around the labels disappear. Thanks for your help!
Stefan
>Hi Stefan,
>i would assume this is an effect of the anti-aliasing of the truetype
>font labels. Your map image is transparent but only for a certain
color
>index, around the labels are these anti-alias halos that don't have
the
>transparent index value since their color index is in a range between
>your label color and (?)white.
>Just a guess.
>Cheers, Michael
>
>Stefan Schwarzer schrieb:
>
> > Hi list,
> >
> > here is a question that I raised in similar form already a couple
of
> > weeks ago. But nobody seemed to have an answer to it. Can that
be?!
> >
> > I attached an screenshot of my map. The blue color is a simple
> > style-background-color:
> > <span style="position: absolute; top: 40px; left: 40px;
> > background-color: #2F72AF"><img name="map1" ....</span>
> > As soon as some labels appear in front of this background-color,
they
> > get this strange look, rendering them almost unreadable.
> >
> > Any idea what the cause is and how I can solve this?
> >
> > Thanks for any hints.
> >
> > Best wishes,
> >
> > Stefan
> >
> >
> > _______________________________________
> >
> > Stefan Schwarzer
> > Consultant on GEO
> >
> > UNEP/DEWA/GRID-Geneva
> > Chemin des Anemones 11
> > CH - 1219 Chatelaine
> > Switzerland
> >
> > Tel: (+41) 22.917.83.49
> > Fax: (+41) 22.917.80.29
> >
> > Email: stefan.schwarzer at grid.unep.ch
> > Internet: http://geodata.grid.unep.ch/
> > _______________________________________
>
>--
>-----------------------------------------------------------
>Michael Schulz in medias res
>Dipl.-Geologe Gesellschaft für
> Informationstechnologie mbH
> Sautierstr. 38, 79104 Freiburg
> 0761 55695-95 (Fax 96)
>mschulz at webgis.de www.webgis.de
_______________________________________
Stefan Schwarzer
Consultant on GEO
UNEP/DEWA/GRID-Geneva
Chemin des Anemones 11
CH - 1219 Chatelaine
Switzerland
Tel: (+41) 22.917.83.49
Fax: (+41) 22.917.80.29
Email: stefan.schwarzer at grid.unep.ch
Internet: http://geodata.grid.unep.ch/
_______________________________________
More information about the MapServer-users
mailing list