[Mapserver-users] Labels get unreadable over background-color and -image

Michael Schulz mschulz at webgis.de
Fri Apr 4 06:05:54 EST 2003


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





More information about the mapserver-users mailing list