Opened 12 years ago

Closed 12 years ago

#4125 closed defect (fixed)

Failed to hard wrap labels

Reported by: jackeycheung Owned by: tbonfort
Priority: normal Milestone:
Component: Renderer API Version: 6.0
Severity: normal Keywords: label, wrap
Cc:

Description

The same wrapping setting yields different results when applied to Chinese labels. In the output image, you can see that there is a single-line label at the upper left corner, while another wrapped label at the lower right. Both labels are set to hard wrapping on the fourth character (MAXLENGTH -4). However, only the longer one seems wrapped correctly.

Below are two more strings for testing, one can just replace the TEXT with them. "船湾郊野公园" "船湾郊野公园 (扩建部份)"

Attachments (1)

testwrap.png (8.6 KB ) - added by jackeycheung 12 years ago.
sample output

Download all attachments as: .zip

Change History (2)

by jackeycheung, 12 years ago

Attachment: testwrap.png added

sample output

comment:1 by tbonfort, 12 years ago

Resolution: fixed
Status: newclosed

fixed in r12898

Note: See TracTickets for help on using tickets.