From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Naohiro Aota Newsgroups: gmane.emacs.bugs Subject: bug#4129: Emacs still have font spacing problem Date: Sat, 26 Jun 2010 02:10:33 +0900 (JST) Message-ID: <20100626.021033.1233076457334905269.naota@elisp.net> References: <6f27515e0908111855l2b4c9d48i12c62c88e6e999cd@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277491225 23777 80.91.229.12 (25 Jun 2010 18:40:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2010 18:40:25 +0000 (UTC) To: 4129@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 25 20:40:19 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSDp0-0000Wc-Gy for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 20:40:18 +0200 Original-Received: from localhost ([127.0.0.1]:54828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSDlr-0004mb-TS for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 14:37:00 -0400 Original-Received: from [140.186.70.92] (port=44249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSCuk-0002Fg-3M for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 13:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSCiD-0004q0-9g for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 13:29:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47089) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSCiD-0004p9-6t for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 13:29:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OSCXS-0001o4-0z; Fri, 25 Jun 2010 13:18:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <6f27515e0908111855l2b4c9d48i12c62c88e6e999cd@mail.gmail.com> Resent-From: Naohiro Aota Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2010 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 4129-submit@debbugs.gnu.org id=B4129.12774862636929 (code B ref 4129); Fri, 25 Jun 2010 17:18:01 +0000 Original-Received: (at 4129) by debbugs.gnu.org; 25 Jun 2010 17:17:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSCX8-0001ni-9Q for submit@debbugs.gnu.org; Fri, 25 Jun 2010 13:17:42 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSCQQ-0001jJ-M5 for 4129@debbugs.gnu.org; Fri, 25 Jun 2010 13:10:47 -0400 Original-Received: by pvc21 with SMTP id 21so1309194pvc.3 for <4129@debbugs.gnu.org>; Fri, 25 Jun 2010 10:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to :subject:from:x-mailer:mime-version:content-type :content-transfer-encoding; bh=VmeOLKuknkzj+m3SisWUUZFv09vVkiQsjsXq3o/cmZw=; b=U/g1mcblBXjwAFANY77yE/QML/UtNkS9GTdUIkLmJi2Ija5yWTmwVME1/QnwlbHoCU fkCDAJjVZ5woEfRQPCCYk1izdI8WDF5gidUkFU4vNylkOfVSQnZ8UP54IBn3VLSRJSaV 6jFy64Df6i/B6qkX21g2/CKG4VI61+Q1XoPAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding; b=BJC+R/0QpBhHWShT5Fs32MSLGI0rL6fSfmRbaopmdNLtiYI07tuMt1qzNYUV1JTvZw e2hRGfwU2bRI8ybztaxzCC6dM6UZ9C0VZ+DTX+hmTPwXBd5F9xR2wbqRlqnHOBzJbjJT dATH9vigtZFrhMkd7fcV5be9lghsQNL6BmRVc= Original-Received: by 10.143.20.13 with SMTP id x13mr1306176wfi.285.1277485840324; Fri, 25 Jun 2010 10:10:40 -0700 (PDT) Original-Received: from localhost (zaq3a55f429.zaq.ne.jp [58.85.244.41]) by mx.google.com with ESMTPS id c16sm511902rvn.13.2010.06.25.10.10.38 (version=SSLv3 cipher=RC4-MD5); Fri, 25 Jun 2010 10:10:39 -0700 (PDT) X-Mailer: Mew version 7.0.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) X-Mailman-Approved-At: Fri, 25 Jun 2010 13:17:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Jun 2010 13:18:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 25 Jun 2010 14:17:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38000 Archived-At: Hi, list As I post last year [1], Emacs still doesn't deal with fonts whose spacing is set to FC_DUAL. Please see this screen-shot I've sent last year [2]. You see disgusting Elisp indentation, don't you? This is all because Emacs assume "space width" is as same as "font max width" only just if the font is not "PROPORTIONAL". Some Japanese are using "DUAL" fonts (M+ font, IPA font and so on). These fonts have "glyphs in precisely two widths, one twice as wide as the other" [3], Emacs shouldn't use "max width" for "min width" and "space width" when there is two kinds of width! Please please think applying the patch. Regards, [1] http://article.gmane.org/gmane.emacs.devel/111557/ [2] http://article.gmane.org/gmane.emacs.devel/111572/ [3] http://fontconfig.org/fontconfig-devel/fcfreetypecharsetandspacing.html