Interesting. You didn't change the SLD afterwards ?

If it really is a problem in the caching layer, it appears to be while encoding the PNG-file, since the JPEG looks okay (ignoring artifacts resulting from the JPEG compression).

http://openaviationmap.tyrell.hu/geoserver/gwc/service/wms?service=WMS&request=GetMap&version=1.1.1&layers=OAM:oam&styles=&format=image/jpeg&transparent=false&height=256&width=256&srs=EPSG:3857&bbox=2152466.7165105627,5987771.047747566,2191602.4749925733,6026906.806229578

-Arne



On 1/11/13 09:22 , Ákos Maróy wrote:
Hi,

I have a strange effect: font rendering is different on a geoserver instance when accessing the same tile directly, and via the built-in tile cache.

See the two attached images as a demonstration. The URLs for these images are:

direct (non-cached), looking good:

http://openaviationmap.tyrell.hu/geoserver/OAM/wms?service=WMS&request=GetMap&version=1.1.1&layers=oam&styles=&format=image/png&transparent=false&height=256&width=256&srs=EPSG:3857&bbox=2152466.7165105627,5987771.047747566,2191602.4749925733,6026906.806229578

cached, looking bad:

http://openaviationmap.tyrell.hu/geoserver/gwc/service/wms?service=WMS&request=GetMap&version=1.1.1&layers=OAM:oam&styles=&format=image/png&transparent=false&height=256&width=256&srs=EPSG:3857&bbox=2152466.7165105627,5987771.047747566,2191602.4749925733,6026906.806229578


This is on a geoserver running on Ubuntu 12.04 LTS with Oracle JDK 7, and with ms corefonts installed (the effect is the sameon Ubuntu 12.10). the font definition for the text in question is:
<sld:Font>
     <sld:CssParameter name="font-family">Arial</sld:CssParameter>
     <sld:CssParameter name="font-size">8</sld:CssParameter>
     <sld:CssParameter name="font-style">normal</sld:CssParameter>
     <sld:CssParameter name="font-weight">normal</sld:CssParameter>
</sld:Font>

I wonder what the source of this issue is, and how can one resolve it?

best regards,


Akos

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to