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#1785: bug#1547: face-font-rescale-alist has no effect Date: Fri, 17 Apr 2009 00:23:51 -0400 Message-ID: <87ocuvhprc.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 1785@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 1239943460 15136 80.91.229.12 (17 Apr 2009 04:44:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 04:44:20 +0000 (UTC) Cc: 1785@emacsbugs.donarmstrong.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 17 06:45:38 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 1LufxD-0005Ai-Lh for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Apr 2009 06:45:31 +0200 Original-Received: from localhost ([127.0.0.1]:47912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lufvo-0007LZ-TZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Apr 2009 00:44:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lufvj-0007LQ-Cw for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2009 00:43:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lufve-0007JF-4v for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2009 00:43:58 -0400 Original-Received: from [199.232.76.173] (port=41515 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lufve-0007JB-1J for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2009 00:43:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50477) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lufvd-0003Pi-GY for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2009 00:43:53 -0400 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 n3H4hpdu030107; Thu, 16 Apr 2009 21:43:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3H4U3E8026363; Thu, 16 Apr 2009 21:30:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 17 Apr 2009 04:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1785 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1785-submit@emacsbugs.donarmstrong.com id=B1785.123994212425036 (code B ref 1785); Fri, 17 Apr 2009 04:30:03 +0000 Original-Received: (at 1785) by emacsbugs.donarmstrong.com; 17 Apr 2009 04:22:04 +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 n3H4M1FH025030 for <1785@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 21:22:02 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 36A7A57E24A; Fri, 17 Apr 2009 00:23:51 -0400 (EDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 17 Apr 2009 00:43:58 -0400 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:27273 Archived-At: > What I currently don't understand is that the font rescaling doesn't > work for the default font in the above case even after > (clear-face-cache t). I'm now investigating the reason. I think the problem here is that the opened font objects are already stored in the LFACE_FONT entry of the default face. Note that M-: (set-face-attribute 'default nil :font (font-spec)) RET successfully refreshes the face with the correct rescaling.