GNU logs - #10179, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#10179: 24.0.91; enforcing double-width CJK character display
Resent-From: Kan-Ru Chen <kanru@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 01 Dec 2011 13:28:02 +0000
Resent-Message-ID: <handler.10179.B.13227460272665 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 10179
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 10179 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13227460272665
          (code B ref -1); Thu, 01 Dec 2011 13:28:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Dec 2011 13:27:07 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RW6fK-0000gw-QJ
	for submit <at> debbugs.gnu.org; Thu, 01 Dec 2011 08:27:07 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <ckanru@HIDDEN>) id 1RW6fI-0000gp-W6
	for submit <at> debbugs.gnu.org; Thu, 01 Dec 2011 08:27:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ckanru@HIDDEN>) id 1RW6f4-0005nP-Is
	for submit <at> debbugs.gnu.org; Thu, 01 Dec 2011 08:26:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:40802)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ckanru@HIDDEN>) id 1RW6f4-0005nC-Bt
	for submit <at> debbugs.gnu.org; Thu, 01 Dec 2011 08:26:50 -0500
Received: from eggs.gnu.org ([140.186.70.92]:36561)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ckanru@HIDDEN>) id 1RW6ey-0005EB-Mv
	for bug-gnu-emacs@HIDDEN; Thu, 01 Dec 2011 08:26:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ckanru@HIDDEN>) id 1RW6es-0005gj-Nf
	for bug-gnu-emacs@HIDDEN; Thu, 01 Dec 2011 08:26:44 -0500
Received: from mail-gx0-f169.google.com ([209.85.161.169]:64586)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ckanru@HIDDEN>) id 1RW6es-0005ga-KF
	for bug-gnu-emacs@HIDDEN; Thu, 01 Dec 2011 08:26:38 -0500
Received: by ggnq4 with SMTP id q4so2168319ggn.0
	for <bug-gnu-emacs@HIDDEN>; Thu, 01 Dec 2011 05:26:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=sender:from:to:subject:date:message-id:mime-version:content-type;
	bh=M94X1KLsost9W/x59x7B2ObqExOrrBWW5fjdnoWUnak=;
	b=usw1+NG549+sMVbaD5sVGL42ghWZKuDVduuCIT+Dmis3eTjLHSpOoyqHNCy8qoiUXe
	r+IPpgcOGNiin6jEPLE3OKMGFoAz4txB4OTFYY47HdTFz2aKaWoJiByczroXpO5Rcu6f
	BADv9rGYgFqzwbIC71Fm73omzFOd/A0YNrXXA=
Received: by 10.236.186.2 with SMTP id v2mr11397059yhm.83.1322745996671;
	Thu, 01 Dec 2011 05:26:36 -0800 (PST)
Received: from isil.kanru.info (61-228-155-84.dynamic.hinet.net.
	[61.228.155.84])
	by mx.google.com with ESMTPS id h28sm15236580ani.17.2011.12.01.05.26.34
	(version=TLSv1/SSLv3 cipher=OTHER);
	Thu, 01 Dec 2011 05:26:35 -0800 (PST)
Received: from localhost.localdomain ([127.0.0.1] helo=isil.kanru.info)
	by isil.kanru.info with esmtp (Exim 4.77)
	(envelope-from <kanru@HIDDEN>) id 1RW6el-0007UX-8F
	for bug-gnu-emacs@HIDDEN; Thu, 01 Dec 2011 21:26:31 +0800
From: Kan-Ru Chen <kanru@HIDDEN>
Date: Thu, 01 Dec 2011 21:26:31 +0800
Message-ID: <87ipm04e48.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.9 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

Discussion was started by Werner LEMBERG in this thread:

https://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00938.html

Currently Emacs chooses fonts that has width close to the width of
the default font. But the font may have smaller advance width so a
double width character will not be rendered as wide as twice of a latin
character.

I set `face-font-rescale-alist' for every font that might be used as a
workaround:

  (setq face-font-rescale-alist
        '(("WenQuanYi Micro Hei" . 1.2)
          ("cwTexYen" . 1.35)
          ("AR Heiti Light B5" . 1.2)))

Ideally this should be calculated and applied automatically (I believe
the information has been exported to lisp but haven't find a good way to
manipulate the font-object) or the display engine should add padding to
double-width font so they are rendered nicely.

-- 
Kanru




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Kan-Ru Chen <kanru@HIDDEN>
Subject: bug#10179: Acknowledgement (24.0.91; enforcing double-width CJK
 character display)
Message-ID: <handler.10179.B.13227460272665.ack <at> debbugs.gnu.org>
References: <87ipm04e48.fsf@HIDDEN>
X-Gnu-PR-Message: ack 10179
X-Gnu-PR-Package: emacs
Reply-To: 10179 <at> debbugs.gnu.org
Date: Thu, 01 Dec 2011 13:28:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 10179 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
10179: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10179
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#10179: 24.0.91; enforcing double-width CJK character display
Resent-From: Werner LEMBERG <wl@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 01 Dec 2011 20:09:01 +0000
Resent-Message-ID: <handler.10179.B10179.132277013511431 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 10179
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: kanru@HIDDEN
Cc: 10179 <at> debbugs.gnu.org
Received: via spool by 10179-submit <at> debbugs.gnu.org id=B10179.132277013511431
          (code B ref 10179); Thu, 01 Dec 2011 20:09:01 +0000
Received: (at 10179) by debbugs.gnu.org; 1 Dec 2011 20:08:55 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RWCw3-0002yD-S4
	for submit <at> debbugs.gnu.org; Thu, 01 Dec 2011 15:08:55 -0500
Received: from mailout-de.gmx.net ([213.165.64.22])
	by debbugs.gnu.org with smtp (Exim 4.69)
	(envelope-from <werner.lemberg@HIDDEN>) id 1RWCw1-0002y5-OL
	for 10179 <at> debbugs.gnu.org; Thu, 01 Dec 2011 15:08:46 -0500
Received: (qmail invoked by alias); 01 Dec 2011 20:08:34 -0000
Received: from 77.118.253.163.wireless.dyn.drei.com (EHLO localhost)
	[77.118.253.163]
	by mail.gmx.net (mp050) with SMTP; 01 Dec 2011 21:08:34 +0100
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1/1rVQ9CR/1sQneM+4LXjuQBW2MXUX0cavw0fXS/J
	nR2IvY3ws8/6U0
Date: Thu, 01 Dec 2011 21:08:29 +0100 (CET)
Message-Id: <20111201.210829.518225611.wl@HIDDEN>
From: Werner LEMBERG <wl@HIDDEN>
In-Reply-To: <87ipm04e48.fsf@HIDDEN>
References: <87ipm04e48.fsf@HIDDEN>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -2.6 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)


Just to have the wishes directly visible in this bug report:

Another important parameter to configure is glyph padding since
scaling makes Emacs display CJK characters very slowly on X11 (before
the glyphs get cached).  Additionally, lines with such scaled glyphs
become too high, causing irregular line spacing.


    Werner





Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.