On Thu, Jun 23, 2011 at 10:41 AM, Gis Mage <[email protected]> wrote:

> Hi, list!
>
> Is there any way to show underlined labels with SLD?
> Or maybe there is some kind of CSS hack?
>

SLD does not have such feature, CSS is translated in SLD before rendering
so it does not have it either.

The rendering subsystem in Java can underline (and also strikethrough)
text, so it would be possible to implement it.
The simplest way would be to add a new VendorOption for that, and then
change the
rendering subsystem to use it.

If you are interested in doing it yourself I can give you pointers in the
GeoTools code that handles label painting

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

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

-------------------------------------------------------
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to