On Sat, Jun 9, 2012 at 7:27 PM, J. Jones <jbjonesjr+...@gmail.com> wrote:
> Hello list,
>   I have what is probably a simple configuration failure on my part, but i
> figure the list is a good place to start:
>
> When generating WMS tiles from GEOServer and presenting them via a SLD
> style, the fonts displayed look... bad.  I've attached some links to a side
> by side comparison that I did to the font being rendered via the WMS+SLD
> solution, and one rendered via a geojson output from geoserver, displayed as
> an openlayers vector layer (therefore using browser svg technology for the
> rendering).  I would expect both to look similar (if anything, the advantage
> given to the server-based geoserver/wms solution, but that does not seem to
> be the result.
>
> Side by side comparison:
> http://cwg.jbjonesjr.com/notes/GeoserverFontProblem.jpg
> WMS+SLD only http://cwg.jbjonesjr.com/notes/geoserver-tile-text.jpg
> GEOJSON + Openlayers + Firefox 13 + SVG:
> http://cwg.jbjonesjr.com/notes/svg-tile-text.jpg
>
> You can clearly see the difference between the Client rendered fonts and the
> server rendered fonts.
>
> Geoserver specifics:
> OS: Ubuntu 8.11
> Kernel: 3.0.0-12
> JVM: Sun Microsystems Inc.: 1.6.0_23 (OpenJDK 64-Bit Server VM)
> Native JAI/ImageIO : true
> DataStore: PostGIS
> Fonts: Arial Bold is listed as an available font
>
> I have not delved into any of the geoserver logs yet to look for anything
> associated with this issue.  Maybe it's an openjdk image rendering problem,
> but figured I'd start here.

Yep, fonts are looking bad, almost as if they were not antialiased.
As reported many times on this list, OpenJDK java2d subsystem is still
quite sub-par, especially so the 1.6.x series one (I hear the OpenJDK 7
is somewhat better).

Long story short, I'd suggest switch to Oracle JDK instead

Cheers
Andrea

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to