emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: severe problems with composite characters


From: 山本和彦
Subject: Re: severe problems with composite characters
Date: Fri, 19 Sep 2003 17:37:40 +0900 (JST)

From: Kenichi Handa <address@hidden>
Subject: Re: severe problems with composite characters

> ??? I've just confirmed this result with 21.3.50.
> 
> (string-width (decode-coding-string "\xcd\xeb" 'thai-tis620)) => 1

This also returns 1 in my environment.

> I suspect that you evaluated something like this:
> 
>       (string-width "__some_composed_text__")
> 
> in *scratch* buffer.  As the Lisp reader ignores any text
> properties on reading a string expression in *scratch*
> buffer, the string given to string-width doesn't have
> `composition' property.

I tried this in other buffers and this returns 2 again.

Please look at this window dump:

        http://www.mew.org/~kazu/tmp/a.png

--Kazu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]