GNU bug report logs - #64420
string-width of … is 2 in CJK environments

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Sun, 2 Jul 2023 12:58:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64420 <at> debbugs.gnu.org
Subject: bug#64420: string-width of … is 2 in CJK environments
Date: Wed, 12 Jul 2023 22:54:58 +0300
Found the problem:

On 12/07/2023 04:17, Dmitry Gutov wrote:
>       (window-text-pixel-size nil nil nil t))))))

Looks like commit 61c254cafc9caa3b added the special meaning for the 
value t for arguments X-LIMIT and Y-LIMIT. It in the previous versions, 
I guess, it meant the same as 0. They also did't accept 
most-positive-fixnum, but worked okay with some lower integer values.




This bug report was last modified 2 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.