Opened 17 years ago
Last modified 17 years ago
#2433 new enhancement
Allow label wrap character to be specified in UTF-8
Reported by: | project10 | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | FUTURE |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | minor | Keywords: | label wrap utf8 |
Cc: | tbonfort |
Description
I need to be able to wrap on the carriage return character, but found that the following:
WRAP ' '
was not working in the LABEL object. Instead, it was trying to wrap on '&'.
Attached is a patch that modifies mapfile.c to allow the WRAP character to be specified in this manner.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | 2433-legend-wrap-utf8.patch added |
---|
comment:1 by , 17 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
I don't think that's the correct way of treating this, as label->wrap is a char : your patch potentially breaks multibyte utf8 chars.
the text rendering should already wrap by default on CR characters. Is this not the case for you?