From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Miles Bader <miles@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: A patch for enforcing double-width CJK character display
Date: Tue, 17 Apr 2012 09:13:07 +0900
Message-ID: <87sjg3kygc.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>
	<jwvehrspu5f.fsf-monnier+emacs@gnu.org>
	<4F8782C8.2030005@i-soft.com.cn>
	<jwvwr5j4vbr.fsf-monnier+emacs@gnu.org>
	<87d379h971.fsf@catnip.gol.com> <m27gxhm0za.fsf@gmail.com>
	<877gxghc3d.fsf@catnip.gol.com> <4F8B6D0F.2050700@i-soft.com.cn>
	<buohawk9rg3.fsf@dhlpc061.dev.necel.com>
	<4F8BB0D3.6060202@i-soft.com.cn> <4F8BBE1F.9080701@i-soft.com.cn>
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 1334622088 26692 80.91.229.3 (17 Apr 2012 00:21:28 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Tue, 17 Apr 2012 00:21:28 +0000 (UTC)
Cc: emacs-devel@gnu.org
To: =?utf-8?B?6buE5bu65b+g?= <jianzhong.huang@i-soft.com.cn>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 17 02:21:27 2012
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1SJwAg-00082i-I9
	for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2012 02:21:26 +0200
Original-Received: from localhost ([::1]:45779 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1SJwAf-0003qW-Tz
	for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2012 20:21:25 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:37668)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <miles@gnu.org>) id 1SJwAc-0003q0-Pd
	for emacs-devel@gnu.org; Mon, 16 Apr 2012 20:21:24 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <miles@gnu.org>) id 1SJwAb-0003A0-0f
	for emacs-devel@gnu.org; Mon, 16 Apr 2012 20:21:22 -0400
Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:46298)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <miles@gnu.org>)
	id 1SJw2i-0007uj-4G; Mon, 16 Apr 2012 20:13:12 -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 <miles@gnu.org>)
	id 1SJw2e-0007il-Og; Tue, 17 Apr 2012 09:13:08 +0900
Original-Received: by catnip.gol.com (Postfix, from userid 1000)
	id 602A2DFC1; Tue, 17 Apr 2012 09:13:07 +0900 (JST)
System-Type: x86_64-unknown-linux-gnu
In-Reply-To: <4F8BBE1F.9080701@i-soft.com.cn> (=?utf-8?B?Ium7hOW7uuW/oCIn?=
	=?utf-8?B?cw==?= message of "Mon, 16 Apr 2012 14:37:19 +0800")
Original-Lines: 35
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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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:149706
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/149706>

=E9=BB=84=E5=BB=BA=E5=BF=A0 <jianzhong.huang@i-soft.com.cn> writes:
> 2, for Monospace 10, the pixelsize is 14, then it matches a "koliji
> 10" with pixelsize 12. that's to say,
> *the fix only added ONE pixel left and ONE pixel right.* Can  anybody
> feel such a little alignment change?

Hi,

I tried it again on my home system, which has different fonts
installed.

case 1: size =3D 13
ASCII:	Lucida Sans Typewriter	[9 pix per char]
CJK:	=E3=81=95=E3=81=96=E3=81=AA=E3=81=BF=E6=98=8E=E6=9C=9D		[12 pix per ch=
ar]

case 2: size =3D 11
ASCII:	Lucida Sans Typewriter	[7 pix per char]
CJK:	=E3=81=95=E3=81=96=E3=81=AA=E3=81=BF=E6=98=8E=E6=9C=9D		[10 pix per ch=
ar]

I think in this case it will add 6 pixels to each CJK character in
case 1, and 4 pixels in case 2, right?  That's an increase of 50%
width...

["=E3=81=95=E3=81=96=E3=81=AA=E3=81=BF=E6=98=8E=E6=9C=9D" is actually a ver=
y nice and readable font even at
small sizes, because it has built-in hand-tuned bitmaps ...]

> Do not guess the result and just have a try :-D

Fair enough... :]

-miles

--=20
The secret to creativity is knowing how to hide your sources.
  --Albert Einstein