Re: [pango] tailing whitespace problem when wrap is applied

2010-09-20 Thread Behdad Esfahbod
On 07/14/10 21:48, deokjin kim wrote: > My question is > > 1. What’s the reason of above code? (why break is prohibited when > break_type is G_UNICODE_BREAK_SPACE?) That's by design, and what Unicode Line Breaking Algorithm specifies. > 2. Do you know good solution? (fore reference, I us

[pango] tailing whitespace problem when wrap is applied

2010-07-14 Thread deokjin kim
Dear all, When wrap is applied, successive tailing whitespace causes some problem. Successive tailing whitespace gets out layout's width range despite of character wrap. When I investigate it, below code cause above situation. (pango/pango/break.c : pango_default_break() 1013 lines) Pan