[mapserver-users] Fwd: Strange behavior for a truetype symbol render..

Martin Ouellet geomartino at gmail.com
Thu Jan 14 13:48:43 PST 2010


2 new elements.

->The problem occur only in FireFox (OK in IE dans Chrome)
->The problem is related to the wingding true font (no problem with arial)

Did someone experiment similar behavior?

MartinO

---------- Forwarded message ----------
From: Martin Ouellet <geomartino at gmail.com>
Date: 2009/12/4
Subject: Strange behavior for a truetype symbol render..
To: mapserver-users <mapserver-users at lists.osgeo.org>


Hi there,

I have two symbol definition in my mapfile:

    SYMBOL
        NAME        'baisse'
        TYPE        TRUETYPE
        FONT        "windg3"
        #CHARACTER   "È"
        CHARACTER   "È"
    END

    SYMBOL
        NAME        'hausse'
        TYPE        TRUETYPE
        FONT        "windg3"
        #CHARACTER   "Ç"
        CHARACTER   "Ç"
    END

While moving the map around (and without making any changes in the mapfile
or in js code), sometime Mapserver is drawing the arrow up symbol (hausse),
and the other time, the arrow down symbol (baisse). See attachment for this
strange display. In both case, the symbol who's not displayed correctly is
replaced with a little box in the center of the circle.

Here the 2 WMS call behind it (identical but BBOX is different)
http://
<myserver>/cgi-wms/adnInternet?LAYERS=ADN_STATION&TRANSPARENT=true&FORMAT=image%2Fpng&ISBASELAYER=false&VISIBILITY=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8357644.0084038,5691908.0497863,-7868447.0274662,6038014.9137997&WIDTH=800&HEIGHT=566
http://
<myserver>/cgi-wms/adnInternet?LAYERS=ADN_STATION&TRANSPARENT=true&FORMAT=image%2Fpng&ISBASELAYER=false&VISIBILITY=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8451202.9310082,5636261.8932047,-7962005.9500706,5982368.7572181&WIDTH=800&HEIGHT=566

Any tought why this happen?

MartinO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100114/37dd4d85/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrow_up2.GIF
Type: image/gif
Size: 8143 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100114/37dd4d85/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrow_down2.GIF
Type: image/gif
Size: 8894 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100114/37dd4d85/attachment-0001.gif>


More information about the MapServer-users mailing list