From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Werner LEMBERG <wl@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: A patch for enforcing double-width CJK character display
Date: Tue, 17 Apr 2012 09:03:09 +0200 (CEST)
Message-ID: <20120417.090309.151202872.wl@gnu.org>
References: <87wr5fdmpa.fsf@catnip.gol.com>
	<20120417.065618.393680168.wl@gnu.org>
	<4F8CF94C.10703@i-soft.com.cn>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: dough.gmane.org 1334646210 12525 80.91.229.3 (17 Apr 2012 07:03:30 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Tue, 17 Apr 2012 07:03:30 +0000 (UTC)
Cc: emacs-devel@gnu.org, miles@gnu.org
To: jianzhong.huang@i-soft.com.cn
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 17 09:03:29 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 1SK2Rk-0006zp-4l
	for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2012 09:03:28 +0200
Original-Received: from localhost ([::1]:42564 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 1SK2Rj-0004BV-Hy
	for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2012 03:03:27 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:40559)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SK2Rg-0004B2-Jn
	for emacs-devel@gnu.org; Tue, 17 Apr 2012 03:03:25 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SK2Ra-0000n1-GF
	for emacs-devel@gnu.org; Tue, 17 Apr 2012 03:03:24 -0400
Original-Received: from mailout-de.gmx.net ([213.165.64.22]:34787)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SK2Ra-0000mK-6X
	for emacs-devel@gnu.org; Tue, 17 Apr 2012 03:03:18 -0400
Original-Received: (qmail invoked by alias); 17 Apr 2012 07:03:16 -0000
Original-Received: from p5DE8565C.dip.t-dialin.net (EHLO localhost) [93.232.86.92]
	by mail.gmx.net (mp020) with SMTP; 17 Apr 2012 09:03:16 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1+Ywn4OI7CYGuajIIhjgXHzaEaCpE6xOSqYezXS1f
	i/l4X6zBCOH7W6
In-Reply-To: <4F8CF94C.10703@i-soft.com.cn>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
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:149723
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/149723>


> Comparing to normal GTK applications (cairo rendering backend), it's
> too wide in Emacs.

This is probably my `fault'.  In FreeType 2.4.6, I've applied a patch
which fixed a very longstanding issue of applying non-TrueType metrics
to TrueType fonts.  A consequence of this patch was that (a) some
fonts suddenly rendered larger or smaller, and that (b) the advance
width and line heights changed noticeable.[1]

I still think that the patch is correct, making the fonts use the
advance widths and heights as designed, but it seems that many people
don't like this `corrected' appearance; over the years, they have got
used to the (usually) wider appearance.  As a consequence, some
GNU/Linux distribution maintainers decided to not work on fixing the
cause (this is, making editors or terminal applications apply
user-defined vertical and horizontal padding, or make the underlying
frameworks provide means for doing that easily).  Instead, they are
fixing the symptoms by undoing the FreeType patch in the
distributions...


    Werner