emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacs-unicode-2: #xFF01 .. #xFF60 should be set double width in char


From: Kenichi Handa
Subject: Re: emacs-unicode-2: #xFF01 .. #xFF60 should be set double width in char-width-table
Date: Wed, 08 Nov 2006 21:35:00 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

Sorry for the late response.

In article <address@hidden>, Zhang Wei <address@hidden> writes:

> According to the unicode standard, #xFF01 .. #xFF60 are fullwidth
> ASCII variants and fullwidth brackets, they should be set double
> width in the char-width-table.

Right.  I just forgot it.  The fix installed.

> Some of the "General punctuation" characters in the unicode code
> chart, such as #x2010 .. #x2027 and #x2030 .. #x 205E shoule be
> double width too.

They are ambiguous according to EastAsianWidth.txt of
Unicode.  I think the right thing is to set them to the
symbol `ambiguous', and make display routine (and column
calculation routine) to resolve it to 1 or 2 by checking a
font (or a capability of terminal).  In a case that such
information is not available, perhaps, we should resolve
according to the current locale.

---
Kenichi Handa
address@hidden




reply via email to

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