From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#1547: face-font-rescale-alist has no effect Date: Tue, 16 Dec 2008 20:33:01 +0900 Message-ID: References: Reply-To: Kenichi Handa , 1547@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229498762 7549 80.91.229.12 (17 Dec 2008 07:26:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 07:26:02 +0000 (UTC) Cc: 1547@emacsbugs.donarmstrong.com To: "Juanma Barranquero" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 08:27:08 2008 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 1LCqno-0005Gu-JI for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 08:26:40 +0100 Original-Received: from localhost ([127.0.0.1]:55389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqmc-0002vO-Da for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 02:25:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCqlz-0002fM-VB for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCqlm-0002QB-6Z for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:35 -0500 Original-Received: from [199.232.76.173] (port=42291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqlk-0002PV-Bl for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60137) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCqlj-0005oQ-F8 for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:31 -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 mBH7OJFG014034; Tue, 16 Dec 2008 23:24:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBH6Pg46028344; Tue, 16 Dec 2008 22:25:42 -0800 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:25:41 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1547 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1547-submit@emacsbugs.donarmstrong.com id=B1547.12294271872160 (code B ref 1547); Wed, 17 Dec 2008 06:25:41 +0000 Original-Received: (at 1547) by emacsbugs.donarmstrong.com; 16 Dec 2008 11:33:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBGBX3X3002152 for <1547@emacsbugs.donarmstrong.com>; Tue, 16 Dec 2008 03:33:05 -0800 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id mBGBX23r024255; Tue, 16 Dec 2008 20:33:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id mBGBX2sO006817; Tue, 16 Dec 2008 20:33:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id mBGBX1fv028146; Tue, 16 Dec 2008 20:33:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1LCYAf-0000x7-QT; Tue, 16 Dec 2008 20:33:01 +0900 In-reply-to: (lekktu@gmail.com) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id mBH7OJFG014034 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 17 Dec 2008 02:24:35 -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:23294 Archived-At: In article ,= "Juanma Barranquero" writes: > On Sat, Dec 13, 2008 at 04:30, Kenichi Handa wrote: > > Thank you for the reminder. I've just installed a fix. > Font rescaling is a bit weird, though. > Using a test file with just two lines: > aeiou > =C3=A1=C3=A9=C3=AD=C3=B3=C3=BA > and running emacs with this: > emacs -q --eval "(add-to-list 'face-font-rescale-alist '(\"Courier > New\" . 1.5))" test.txt > the fonts used for the two lines are, respectively: > uniscribe:-outline-Courier > New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 > uniscribe:-outline-Courier > New-normal-normal-normal-mono-19-*-*-*-c-*-iso10646-1 > so the fist line appears normal, while the second one is rescaled. When Emacs creates the initial frame and selects the default font, "(add-to-list ...)" is not yet evaluated, so if your default fonts is 'Courier New', it is opened without scaling. 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. --- Kenichi Handa handa@m17n.org