Hi all,

Is there a way  to change the word separator for a label defined in a 
textSymbolizer?

I use the autowrap vendor option to control the size of long labels. In most 
cases it works fine, but if I have a label string like "Dignes-les-bains" I 
have this result : "Dignes-les-bain" and the "s" on the second line? But if I 
replace the "-" character by a white space and I have each word on a different 
line.

So, is it possible to force the word separator to an other character than white 
space, like "-" ?
Or maybe, it's possible to do string replacement to change "-" to "- "? In this 
case, I suppose the autowrap can split the label after the "-" character.

Thanks,

Regards,

Jean-Baptiste Raynaud

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to