Hello list,

I've got a problem with the display of fonts. It is not a Geoserver problem,
but as I cannot change IE8 I need to solve it from the Geoserver side.
Question is: Is there any way I can spell out to IE don't pixelate the image
and the label when overlaying?

In a program (client app) based on openLayers the cadastre in both browsers
displays like that:

http://lctest.land.vic.gov.au/cm/FF25_IE8_SPEAR.jpeg

Crystal clear in Firefox, pixelated in IE8. The newer IE's are fine but the
people using the application are on a standard desktop that comes with IE8,
so they are stuck and so am I.

Single layers come out o.k, please see comparison between IE and Firefox:

http://lctest.land.vic.gov.au/cm/FF25_IE8_onelayer.jpeg

The request as derived from Firebug for the image above is:

http://xxx.x.x.x.x/geoserver/wms?LAYERS=sii%3AVSUP.V_PARCEL_MP_SDO&STYLES=&FORMAT=image%2Fpng&TILED=true&TILESORIGIN=1786000%2C1997264.4991957&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A3111&BBOX=2508851.5140388,2404315.4604025,2508959.8875889,2404423.8339526&WIDTH=512&HEIGHT=512

As this request delivers images that are o.k. in both browsers, the accident
must happen in IE8 in the process of overlaying the image and the basemap.

The relevant bit of the sld used is:

<sld:PolygonSymbolizer>

<sld:Stroke>
<sld:CssParameter name="stroke">
<ogc:Literal>#000000</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="stroke-linecap">
<ogc:Literal>butt</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="stroke-linejoin">
<ogc:Literal>miter</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="stroke-opacity">
<ogc:Literal>1</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="stroke-width">
<ogc:Literal>1.0</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="stroke-dashoffset">
<ogc:Literal>0</ogc:Literal>
</sld:CssParameter>
</sld:Stroke>
</sld:PolygonSymbolizer>
<sld:TextSymbolizer>
<sld:Label>
<ogc:PropertyName>PARCEL_SPI</ogc:PropertyName>
</sld:Label>
<sld:Font>
<sld:CssParameter name="font-family">
<ogc:Literal>Arial</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="font-size">
<ogc:Literal>10</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="font-style">
<ogc:Literal>Normal</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="font-weight">
<ogc:Literal>normal</ogc:Literal>
</sld:CssParameter>
</sld:Font>
<sld:LabelPlacement>
<sld:PointPlacement>
<sld:AnchorPoint>
<sld:AnchorPointX>
<ogc:Literal>0.0</ogc:Literal>
</sld:AnchorPointX>
<sld:AnchorPointY>
<ogc:Literal>1</ogc:Literal>
</sld:AnchorPointY>
</sld:AnchorPoint>
<sld:Displacement>
<sld:DisplacementX>
<ogc:Literal>-30</ogc:Literal>
</sld:DisplacementX>
<sld:DisplacementY>
<ogc:Literal>0</ogc:Literal>
</sld:DisplacementY>
</sld:Displacement>
<sld:Rotation>
<ogc:Literal>0</ogc:Literal>
</sld:Rotation>
</sld:PointPlacement>
</sld:LabelPlacement>
<sld:Fill>
<sld:CssParameter name="fill">
<ogc:Literal>#000000</ogc:Literal>
</sld:CssParameter>
<sld:CssParameter name="fill-opacity">
<ogc:Literal>1</ogc:Literal>
</sld:CssParameter>
</sld:Fill>
<VendorOption name="group">yes</VendorOption>
</sld:TextSymbolizer>

polygons with a black rim and no fill, nothing exciting....
Any suggestions for the request or SLD?

Cheers

Christian




-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:        +61-3-8636 2325
Telefax:              +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/fonts-with-IE8-pixelated-and-FireFox25-fine-tp5089790.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to