> A non-printable character is a different concept from a zero width
> character. Think of the zero width character as hyphenation hint or word
> border. The rule of using blanks works well for Indogermanic languages.
> The zero width rule works as fallback for other languages that don't
> have a n
On Thu, Oct 29, 2009 at 08:53:47AM +0800, Brian Wang wrote:
> On Wed, Oct 28, 2009 at 9:11 PM, Joerg Sonnenberger
> wrote:
> > On Wed, Oct 28, 2009 at 01:41:01PM +0100, Peter Wehrfritz wrote:
> >> Your patch assumes that an UTF8 character initiates a new word. That is
> >> wrong for the most Europ
> Your patch assumes that an UTF8 character initiates a new word. That is
> wrong for the most European language, if not for all. So there must be
> another solution. Maybe a hybrid of word and character wrap? I.e. try to
> wrap a word (separated by a white space) first, if this is not possible, do
On Wed, Oct 28, 2009 at 9:11 PM, Joerg Sonnenberger
wrote:
> On Wed, Oct 28, 2009 at 01:41:01PM +0100, Peter Wehrfritz wrote:
>> Your patch assumes that an UTF8 character initiates a new word. That is
>> wrong for the most European language, if not for all. So there must be
>> another solution.
>
On Wed, Oct 28, 2009 at 01:41:01PM +0100, Peter Wehrfritz wrote:
> Your patch assumes that an UTF8 character initiates a new word. That is
> wrong for the most European language, if not for all. So there must be
> another solution.
The best bet you can do is likely iswblank(x) || wcwidth(x) == 0
Brian Wang schrieb:
> Hello all,
>
> Evas's word-wrapping calculation does not work well with long Chinese strings.
> This is how it looks (no wrapping):
> http://cool-idea.com.tw/brian/edje-long-chinese-text-orig.png
>
> I made my effort to make it work with Chinese but it is certainly not
> for t
Hello all,
Evas's word-wrapping calculation does not work well with long Chinese strings.
This is how it looks (no wrapping):
http://cool-idea.com.tw/brian/edje-long-chinese-text-orig.png
I made my effort to make it work with Chinese but it is certainly not
for the majority.
This is how the patch