From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37121 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug on Summary line. Date: Wed, 25 Jul 2001 22:45:29 -0700 Message-ID: <2nitggb5vq.fsf@piglet.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172592 12204 80.91.224.250 (21 Oct 2002 03:56:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:56:32 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 2139 invoked from network); 26 Jul 2001 05:48:12 -0000 Original-Received: from c1778337-a.stcla1.sfba.home.com (HELO zsh.2y.net) (65.12.48.218) by gnus.org with SMTP; 26 Jul 2001 05:48:12 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.2/8.11.2) id f6Q5jTl13875; Wed, 25 Jul 2001 22:45:29 -0700 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: (Jinhyok Heo's message of "26 Jul 2001 10:18:03 +0900") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 18 Xref: main.gmane.org gmane.emacs.gnus.general:37121 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37121 Jinhyok Heo writes: > Hi, all. > > In summary line, the somewhat trimmed posters' names are displayed. The > names are trimmed by a defined number of characters, not a byte of > them. It can cause a problem when using two byte > characters(e.g. Korean, Japanese, Chinese). The two-byte character is > counted the same as one one-byte character, but it take double space. > So the summary lines are not aligned correctly when there are two-byte > characters. > > How can I fix it? Probably, no solution. Does anyone how to efficiently calculate string width in pixels? ShengHuo