multi-line labeling by having a line break character

Description

proposal for a geoserver labeling improvement: have a fixed (or configurable) character that, when found inside a label, will insert a line break in the rendered label. E.g. you have a label "Very long\country name", and the "\" is the configured line break character, it would render like:

Very long
country name

Environment

None

Activity

codehaus 
April 10, 2015 at 3:55 PM

CodeHaus Comment From: aaime - Time: Fri, 4 Dec 2009 04:58:53 -0600
---------------------
<p>Yep, this has been fixed one year ago</p>

codehaus 
April 10, 2015 at 3:55 PM

CodeHaus Comment From: groldan - Time: Mon, 10 Aug 2009 09:11:34 -0500
---------------------
<p>Andrea I guess this is already possible? (like in the LabelPainter is already using java.awt.font.TextLayout?)</p>

Fixed

Details

Assignee

Reporter

Components

Priority

Created January 18, 2007 at 1:02 PM
Updated October 31, 2015 at 4:55 PM
Resolved May 26, 2015 at 2:10 PM