From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function Date: Wed, 18 Feb 2009 08:48:45 -0500 Message-ID: <87ljs3ua82.fsf@cyd.mit.edu> References: <8763jaqu7b.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 2334@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234965897 3111 80.91.229.12 (18 Feb 2009 14:04:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 14:04:57 +0000 (UTC) Cc: tytso@mit.edu, 2334@emacsbugs.donarmstrong.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 15:06:13 2009 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.50) id 1LZn30-0000Lw-95 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 15:05:38 +0100 Original-Received: from localhost ([127.0.0.1]:36870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZn1g-0007ST-74 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 09:03:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZn1b-0007Rt-8H for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 09:03:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZn1Y-0007Qt-Ru for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 09:03:41 -0500 Original-Received: from [199.232.76.173] (port=60464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZn1Y-0007Qn-Es for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 09:03:40 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56992) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZn1X-0005DS-Gv for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 09:03:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IE3Z0a010046; Wed, 18 Feb 2009 06:03:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1IDoA3l006102; Wed, 18 Feb 2009 05:50:10 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Feb 2009 13:50:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2334 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2334-submit@emacsbugs.donarmstrong.com id=B2334.12349648765572 (code B ref 2334); Wed, 18 Feb 2009 13:50:09 +0000 Original-Received: (at 2334) by emacsbugs.donarmstrong.com; 18 Feb 2009 13:47:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IDlq65005561 for <2334@emacsbugs.donarmstrong.com>; Wed, 18 Feb 2009 05:47:53 -0800 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id E546657E1D7; Wed, 18 Feb 2009 08:48:45 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Wed, 18 Feb 2009 15:00:39 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 18 Feb 2009 09:03:40 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:25406 Archived-At: Kenichi Handa writes: > I at first want to figure out why the above two methods for > seting a font are different. At least, I can't reproduce > the difference. Can you? When I have "dejavu sans mono" > fonts both for fontconfig and X as below, both methods set > the default font to X font. I do see this bug. I have 'Emacs.Font: Monospace 9' in my .Xresources file. With `emacs -Q', C-u C-x = reports the font as xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x1E) If I then do M-: (modify-frame-parameters (selected-frame) (list (cons 'font "DejaVu Sans Mono 9"))) the font becomes non-antialised, and C-u C-x = reports x:-dejavu-dejavu sans mono-medium-r-normal--12-87-100-100-m-70-iso8859-1 (#x3B) My results for fc-list and xlsfonts are the same as yours.