From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: A patch for enforcing double-width CJK character display Date: Mon, 16 Apr 2012 07:19:50 +0900 Message-ID: <877gxghc3d.fsf@catnip.gol.com> References: <4F85A138.6090900@i-soft.com.cn> <87vcl646c7.fsf@isil.kanru.info> <4F85AE69.9050002@i-soft.com.cn> <4F8698B0.2030703@i-soft.com.cn> <83hawp46p7.fsf@gnu.org> <4F86BA0F.4080301@i-soft.com.cn> <83ehrt3u0p.fsf@gnu.org> <4F87173F.3070801@i-soft.com.cn> <4F8782C8.2030005@i-soft.com.cn> <87d379h971.fsf@catnip.gol.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334528404 15060 80.91.229.3 (15 Apr 2012 22:20:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2012 22:20:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: William Xu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 16 00:20:03 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SJXnd-0004UW-9g for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2012 00:20:01 +0200 Original-Received: from localhost ([::1]:37818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJXnc-0005pV-9Y for ged-emacs-devel@m.gmane.org; Sun, 15 Apr 2012 18:20:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJXnY-0005pF-Qr for emacs-devel@gnu.org; Sun, 15 Apr 2012 18:19:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SJXnX-00068k-2g for emacs-devel@gnu.org; Sun, 15 Apr 2012 18:19:56 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:35620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJXnW-00066b-Pi; Sun, 15 Apr 2012 18:19:54 -0400 Original-Received: from 61.245.22.233.eo.eaccess.ne.jp ([61.245.22.233] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1SJXnU-0000yi-3i; Mon, 16 Apr 2012 07:19:52 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id E6BD9DFC1; Mon, 16 Apr 2012 07:19:50 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (William Xu's message of "Mon, 16 Apr 2012 00:08:41 +0800") Original-Lines: 33 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149679 Archived-At: William Xu writes: >> BTW, I hope there's a way to disable or tune this... Some CJK fonts seem >> to be very small (when rendered at the same size as other characters), >> and I think forcing them to be spaced with 2 * the width of the default >> font would make CJK characters look weird, with tons of whitespace in >> between each character.... > > Why would it look weird? As I said, because sometimes the CJK font chosen for a given point-size is very small compared to the ASCII font, the point where each CJK character is almost as small as a single ASCII character. [I didn't just make this up, I looked at the fonts being used for my Emacs on several machines, and thought "hmm, how would this look if CJK font-spacing was forced to double-width...?"] > Like the author said, the terminal has rendered it that way for long. Then the terminal probably does a better job of choosing a CJK font to match the ASCII font, or simply uses a different ASCII font... I guess the point is that there are multiple interrelated issues here: character-spacing, but also font choice. Ideally the best solution is to automatically choose good matching fonts (and give the user powerful methods for overriding such choices). -miles --=20 =E3=80=8C=E5=AF=92=E3=81=84=E3=81=AD=E3=80=8D=E3=81=A8=E8=A9=B1=E3=81=97=E3= =81=8B=E3=81=91=E3=82=8C=E3=81=B0=E3=80=8C=E5=AF=92=E3=81=84=E3=81=AD=E3=80= =8D=E3=81=A8=E7=AD=94=E3=81=88=E3=82=8B=E4=BA=BA=E3=81=AE=E3=81=84=E3=82=8B= =E3=81=82=E3=81=A3=E3=81=9F=E3=81=8B=E3=81=95 [=E4=BF=B5=E4=B8=87=E6=99=BA]