Hi again Jaroslav:

I have learned a bit since I last responded to your message. Apparently 
the XML specification gobbles up all whitespace between elements. So the 
correct approach would be to make a function that adds a new line. Even 
so the renderer right now does not know about new lines; and would get a 
bit confused.

So this falls under the category of things that cannot be done; please 
use Two TextSmbolizers with an offset to arrange them on separate "lines".
Jody

Jody Garnett wrote:
> That may be a feature request; I have known people to just render two 
> TextSymbolizers as a workaround.
> Jody
> Jaroslav wrote:
>> Hello,
>>
>> Could you help me with rendering the text feature which has multiline 
>> text.
>> Is it possible in Geotools 2.4.4?
>>
>> For example I have feature with text "The first line/nThe second 
>> line" and I
>> want to render this text in two lines, but Geotools renders it in one 
>> line.
>>
>> Jaroslav   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to