From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: X fonts selection weirdness Date: Tue, 24 Jun 2008 14:46:35 -0400 Message-ID: References: <20080624.124226.1059534586998157705.kasahara@nc.kyushu-u.ac.jp> <20080624.145703.566779761171555788.kasahara@nc.kyushu-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214333238 763 80.91.229.12 (24 Jun 2008 18:47:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 18:47:18 +0000 (UTC) Cc: kasahara@nc.kyushu-u.ac.jp, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 20:48:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBDYU-0004JM-Sn for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 20:47:51 +0200 Original-Received: from localhost ([127.0.0.1]:50178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBDXf-00058H-Dz for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 14:46:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBDXX-00057J-HL for emacs-devel@gnu.org; Tue, 24 Jun 2008 14:46:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBDXV-00056q-Sl for emacs-devel@gnu.org; Tue, 24 Jun 2008 14:46:51 -0400 Original-Received: from [199.232.76.173] (port=57055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBDXV-00056h-Mp for emacs-devel@gnu.org; Tue, 24 Jun 2008 14:46:49 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49502) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBDXV-0004zv-1S for emacs-devel@gnu.org; Tue, 24 Jun 2008 14:46:49 -0400 Original-Received: from ceviche.home (vpn-132-204-232-21.acd.umontreal.ca [132.204.232.21]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m5OIl49C028900 for ; Tue, 24 Jun 2008 14:47:04 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0BFB0B408C; Tue, 24 Jun 2008 14:46:35 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Wed, 25 Jun 2008 00:10:00 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered HAS_X_HELO=0, RV3045=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99859 Archived-At: > What I modified is the function font_score. I made it to > prefer the same DPI if the pixelsize is the same. > Previously, as this log shows: > sort-by: -misc-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1 > x:-misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1 > the difference of DPI was ignored. Oops, sorry, I see I was just confused. His case is a really messed up one, and giving preference to the same DPI is probably the best/only thing we can do. Stefan