[Geoserver-devel] TextSymbolizer in GetLegendGraphics

Hi

I was using GeoServer for a while and I love it. Recently i ran into problem with GetLegendGraphics in WMS. If you have TextSymbolizer in your SLD, GetLegendGraphics should produce sample image of TextSymbolizer, but GeoServer produces empty image. I've seen some issues on the issues tracker referring to this problem, even for very old releases of GeoServer
http://jira.codehaus.org/browse/GEOS-1622
http://jira.codehaus.org/browse/GEOS-667

still, not fixed in 2.2-RC2.

I've created an issue on the tracker, and included a patch for BufferedImageLegendGraphicBuilder.java
http://jira.codehaus.org/browse/GEOS-5274

If you be so kind to include it in the main tree, I'd be grateful :slight_smile:

Best regards
Bogusław Kaczałek

(attachments)

BufferedImageLegendGraphicBuilder.java.patch (3.16 KB)