unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-unicode-2: wrong width property for some punctuation characters
@ 2006-05-26  7:47 Zhang Wei
  2006-06-02  4:16 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Wei @ 2006-05-26  7:47 UTC (permalink / raw)



Some of the punctuation characters in the range #x2000-#x27FF
should have a double-width property. I'm not sure if all of them,
but a large part of them such as #x203b(※) should have a
double-width property.

*** characters.el	09  4月 2006 09:43:12 +0800	1.42.4.15
--- characters.el	26  5月 2006 15:36:07 +0800	
***************
*** 892,897 ****
--- 892,898 ----
  \f
  ;; CJK double width characters.
  (let ((l '((#x1100 . #x11FF)
+ 	   (#X2000 . #x27FF)
  	   (#x2E80 . #x9FAF)
  	   (#xAC00 . #xD7AF)
  	   (#xF900 . #xFAFF)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-unicode-2: wrong width property for some punctuation characters
  2006-05-26  7:47 emacs-unicode-2: wrong width property for some punctuation characters Zhang Wei
@ 2006-06-02  4:16 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2006-06-02  4:16 UTC (permalink / raw)
  Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

In article <86y7wp9qiq.fsf@emacsfans.org>, Zhang Wei <id.brep@gmail.com> writes:

> Some of the punctuation characters in the range #x2000-#x27FF
> should have a double-width property. I'm not sure if all of them,
> but a large part of them such as #x203b(※) should have a
> double-width property.

It depends on what font is used, and currently Emacs can't
decide column width by how many pixels the character
occupies on screen.  I think this problem should be fixed by
improving Emacs' column calculation.

---
Kenichi Handa
handa@m17n.org

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-02  4:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26  7:47 emacs-unicode-2: wrong width property for some punctuation characters Zhang Wei
2006-06-02  4:16 ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).