From lekktu@gmail.com Fri Dec 12 02:54:01 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 44; hammy, 64; neutral, 44; spammy, 1. spammytokens:0.862-+--UD:com hammytokens:0.000-+--emacs, 0.000-+--23060, 0.000-+--23.0.60, 0.000-+--H*MI:sk:f7ccd24, 0.000-+--listsgnuorg X-Spam-Status: No, score=-10.0 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Dec 2008 10:54:01 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCArwh2029423 for ; Fri, 12 Dec 2008 02:54:00 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB5eg-00028r-CK for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 05:53:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB5ef-00028M-DF for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 05:53:57 -0500 Received: from [199.232.76.173] (port=45577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB5ef-00028F-7V for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 05:53:57 -0500 Received: from yw-out-1718.google.com ([74.125.46.158]:19039) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LB5ee-00021Q-Sb for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 05:53:56 -0500 Received: by yw-out-1718.google.com with SMTP id 9so655399ywk.66 for ; Fri, 12 Dec 2008 02:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=D8FV+puXD8GC9fLhO/TRfNCct9meRV1hqty6SmzXBUg=; b=u1q9WLwmFu+lHXM/we9bYSEKx0hcmlTbAWzZTExWG6gTrhPt1KiOgLJ6dQPtoVozhU IFmRb3YuY9z10Xc0B/+z/k48KH/G+WY5zlYvQbaSkC9ivp/sUHWzIg+UrQpvb94Wgy28 rt4wqnSNvYLvg4CJxIPSKoZmrOic0MCX9ZTxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=s2jrJC3zfo+Gi+X4ZwjejjlI4icSjhWZgVnrCK7hVblRwKUA1ZHkyvg8MWQhPZ9wDZ y3MWtpqtUih47qgOfcmEMvK1hUAr9AroN4X1cwLosQqAIdYn5NntAJwpLL9PX0BGOmcv LfwngMYWPeoxm8hLGeu2/kIAdSsyNlObRRrgI= Received: by 10.101.1.16 with SMTP id d16mr2764485ani.66.1229079236432; Fri, 12 Dec 2008 02:53:56 -0800 (PST) Received: by 10.100.13.13 with HTTP; Fri, 12 Dec 2008 02:53:56 -0800 (PST) Message-ID: Date: Fri, 12 Dec 2008 11:53:56 +0100 From: "Juanma Barranquero" To: Bug-Gnu-Emacs Subject: face-font-rescale-alist has no effect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Package: emacs Version: 23.0.60 X-Debbugs-CC: handa@m17n.org [Just a reminder, so the issue is not lost] Font rescaling is unimplemented in the new font backend. It was already discussed on the list: http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg01155.html From handa@m17n.org Fri Dec 12 19:30:48 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 99; neutral, 45; spammy, 0. spammytokens: hammytokens:0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*UA:23.0.60, 0.000-+--H*u:23.0.60, 0.000-+--HCC:D*com X-Spam-Status: No, score=-7.2 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER,IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Dec 2008 03:30:48 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBD3Uj9N018666 for ; Fri, 12 Dec 2008 19:30:46 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBLDJ-0001Vr-6i for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 22:30:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBLDG-0001Sy-Fy for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 22:30:43 -0500 Received: from [199.232.76.173] (port=49597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBLDG-0001Sg-9F for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 22:30:42 -0500 Received: from mx1.aist.go.jp ([150.29.246.133]:42107) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBLDF-00068z-HB for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 22:30:42 -0500 Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id mBD3URPu002793; Sat, 13 Dec 2008 12:30:27 +0900 (JST) env-from (handa@m17n.org) Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id mBD3UQ94026538; Sat, 13 Dec 2008 12:30:26 +0900 (JST) env-from (handa@m17n.org) Received: by smtp4.aist.go.jp with ESMTP id mBD3UQ07004635; Sat, 13 Dec 2008 12:30:26 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1LBLD0-0007cD-1f; Sat, 13 Dec 2008 12:30:26 +0900 From: Kenichi Handa To: "Juanma Barranquero" , 1547@debbugs.gnu.org CC: bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org In-reply-to: (lekktu@gmail.com) Subject: Re: bug#1547: face-font-rescale-alist has no effect References: User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Message-Id: Date: Sat, 13 Dec 2008 12:30:26 +0900 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-CrossAssassin-Score: 2 In article , "Juanma Barranquero" writes: > [Just a reminder, so the issue is not lost] > Font rescaling is unimplemented in the new font backend. Thank you for the reminder. I've just installed a fix. --- Kenichi Handa handa@m17n.org From handa@m17n.org Tue Dec 16 03:33:07 2008 Received: (at 1547) by emacsbugs.donarmstrong.com; 16 Dec 2008 11:33:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 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 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) 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) Received: by smtp4.aist.go.jp with ESMTP id mBGBX1fv028146; Tue, 16 Dec 2008 20:33:02 +0900 (JST) env-from (handa@m17n.org) 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 From: Kenichi Handa To: "Juanma Barranquero" CC: 1547@debbugs.gnu.org In-reply-to: (lekktu@gmail.com) Subject: Re: bug#1547: face-font-rescale-alist has no effect References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Tue, 16 Dec 2008 20:33:01 +0900 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 > áéíóú > 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 From lekktu@gmail.com Sun Dec 14 05:00:43 2008 Received: (at 1547) by emacsbugs.donarmstrong.com; 14 Dec 2008 13:00:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBED0d5Z029224 for <1547@emacsbugs.donarmstrong.com>; Sun, 14 Dec 2008 05:00:41 -0800 Received: by an-out-0708.google.com with SMTP id c38so1037357ana.31 for <1547@emacsbugs.donarmstrong.com>; Sun, 14 Dec 2008 05:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PBqg11/yk63ExJZZ5pJ4Emf2CKEDlUBe0WVntqw7V4U=; b=gZZ9T3m7lb19T2gstiO0AAYeRzvPjdUuA7jwGujpf+yII7lc7o0MebXUQ/8hBojb/G LqgCmfX8QyD9zFdNgCRsbh00OSPP+aV4NLSXD3f2D9FyDU2pRdD5jVLevrdp/b/5JWWS hA6VTzka+Q+FY7FtADj1befuQbhXfZrXIg5Bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=q0Jd/oCxQ7C9J/sxeP/RQh9vnr3xi9f+S1b3g6iPoL+w7nr+QyleIQAxetJgWXtRUq vGob3knXI2KzN3HixNOwRkoyg3Km8MpPSmLYSV97bAIUbbJbF60ggRcD8uni8PCtdqjg JVixMR5BbPrMHYHHtXsAHJhMNpsnraMO8FNvY= Received: by 10.100.8.17 with SMTP id 17mr3954523anh.149.1229259639641; Sun, 14 Dec 2008 05:00:39 -0800 (PST) Received: by 10.100.13.13 with HTTP; Sun, 14 Dec 2008 05:00:39 -0800 (PST) Message-ID: Date: Sun, 14 Dec 2008 14:00:39 +0100 From: "Juanma Barranquero" To: "Kenichi Handa" Subject: Re: bug#1547: face-font-rescale-alist has no effect Cc: 1547@debbugs.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: T24gU2F0LCBEZWMgMTMsIDIwMDggYXQgMDQ6MzAsIEtlbmljaGkgSGFuZGEgPGhhbmRhQG0xN24u b3JnPiB3cm90ZToKCj4gVGhhbmsgeW91IGZvciB0aGUgcmVtaW5kZXIuICBJJ3ZlIGp1c3QgaW5z dGFsbGVkIGEgZml4LgoKRm9udCByZXNjYWxpbmcgaXMgYSBiaXQgd2VpcmQsIHRob3VnaC4KClVz aW5nIGEgdGVzdCBmaWxlIHdpdGgganVzdCB0d28gbGluZXM6CgphZWlvdQrDocOpw63Ds8O6Cgph bmQgcnVubmluZyBlbWFjcyB3aXRoIHRoaXM6CgogIGVtYWNzIC1xIC0tZXZhbCAiKGFkZC10by1s aXN0ICdmYWNlLWZvbnQtcmVzY2FsZS1hbGlzdCAnKFwiQ291cmllcgpOZXdcIiAuIDEuNSkpIiB0 ZXN0LnR4dAoKdGhlIGZvbnRzIHVzZWQgZm9yIHRoZSB0d28gbGluZXMgYXJlLCByZXNwZWN0aXZl bHk6CgogICAgdW5pc2NyaWJlOi1vdXRsaW5lLUNvdXJpZXIKTmV3LW5vcm1hbC1ub3JtYWwtbm9y bWFsLW1vbm8tMTMtKi0qLSotYy0qLWlzbzg4NTktMQogICAgdW5pc2NyaWJlOi1vdXRsaW5lLUNv dXJpZXIKTmV3LW5vcm1hbC1ub3JtYWwtbm9ybWFsLW1vbm8tMTktKi0qLSotYy0qLWlzbzEwNjQ2 LTEKCnNvIHRoZSBmaXN0IGxpbmUgYXBwZWFycyBub3JtYWwsIHdoaWxlIHRoZSBzZWNvbmQgb25l IGlzIHJlc2NhbGVkLgo= From lekktu@gmail.com Sun Jan 4 11:49:14 2009 Received: (at control) by emacsbugs.donarmstrong.com; 4 Jan 2009 19:49:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n04JnBnI006213 for ; Sun, 4 Jan 2009 11:49:12 -0800 Received: by yw-out-2324.google.com with SMTP id 3so2167678ywj.31 for ; Sun, 04 Jan 2009 11:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KLB/W+RT6Z6x+CJ8n0OT9JfdhSre+5/T4NXR5QBtJJE=; b=fa8BXzF53jjhU/ENalUXNdTOB8TjMRWimGiUILDu8a5NMmW2xPAAr6Q2cQ8vpGRxZD LIxrzjF/r+r8HCgLVzMslBxKCZVb7lS+pjYYy44ujxHj1FBaNNNbRDkeNhFo8CCsYmoK v5WoRBRk3Nd8RuixknQfB4Pp+QWZ3CTotd5r0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=CSflbARi3g0FcKSW4tqPA1TrGpqc/kOURiEWEahfKGUPRKZzDFhSv9LUE23Lqhis0a LlWgDzAuqi32tP731wpqRooYvHPpq6anhsyCEXjQgN2Z0miWuIS9uZeuOIOSRqrCgqRJ jGwf7oOyDIO0Egc1rYyT5OdNT1ljxiidIpOdo= Received: by 10.100.8.17 with SMTP id 17mr10691868anh.85.1231098551301; Sun, 04 Jan 2009 11:49:11 -0800 (PST) Received: by 10.100.252.15 with HTTP; Sun, 4 Jan 2009 11:49:11 -0800 (PST) Message-ID: Date: Sun, 4 Jan 2009 20:49:11 +0100 From: "Juanma Barranquero" To: control@debbugs.gnu.org Subject: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline reassign 884 emacs,w32 clone 1547 -1 retitle -1 Font scaling does not work for the default font in some cases quit From cyd@stupidchicken.com Thu Mar 26 19:57:13 2009 Received: (at control) by emacsbugs.donarmstrong.com; 27 Mar 2009 02:57:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n2R2vB98003229 for ; Thu, 26 Mar 2009 19:57:12 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id E856357E245; Thu, 26 Mar 2009 22:58:40 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: Reassign bugs Date: Thu, 26 Mar 2009 22:58:40 -0400 Message-ID: <87myb7u0wv.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 1650 serious severity 1654 serious close 1723 severity 1785 serious severity 2148 serious tags 2149 moreinfo severity 2291 wishlist severity 2643 wishlist thanks From cyd@stupidchicken.com Thu Apr 16 21:22:04 2009 Received: (at 1785) by emacsbugs.donarmstrong.com; 17 Apr 2009 04:22:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 Received: by cyd.mit.edu (Postfix, from userid 1000) id 36A7A57E24A; Fri, 17 Apr 2009 00:23:51 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: 1785@debbugs.gnu.org Subject: Re: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. From cyd@stupidchicken.com Fri Apr 17 21:09:32 2009 Received: (at 1785) by emacsbugs.donarmstrong.com; 18 Apr 2009 04:09:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3I49UQ4001613 for <1785@emacsbugs.donarmstrong.com>; Fri, 17 Apr 2009 21:09:31 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 53DFB57E21C; Sat, 18 Apr 2009 00:11:20 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: 1785@debbugs.gnu.org Subject: Re: bug#1547: face-font-rescale-alist has no effect Date: Sat, 18 Apr 2009 00:11:20 -0400 Message-ID: <87bpquiot3.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > > 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. Until a better solution comes along, I propose dealing with this situation with the following hack in startup.el: check to see if the init file changed face-font-rescale-alist, and reload the default face if necessary. What do you think? *** trunk/lisp/startup.el.~1.527.~ 2009-02-20 10:20:55.000000000 -0500 --- trunk/lisp/startup.el 2009-04-18 00:07:05.000000000 -0400 *************** *** 499,505 **** (delete (concat "PWD=" pwd) process-environment))))) (setq default-directory (abbreviate-file-name default-directory)) ! (let ((menubar-bindings-done nil)) (unwind-protect (command-line) ;; Do this again, in case .emacs defined more abbreviations. --- 499,506 ---- (delete (concat "PWD=" pwd) process-environment))))) (setq default-directory (abbreviate-file-name default-directory)) ! (let ((menubar-bindings-done nil) ! (old-face-font-rescale-alist face-font-rescale-alist)) (unwind-protect (command-line) ;; Do this again, in case .emacs defined more abbreviations. *************** *** 540,545 **** --- 541,551 ---- (not (and initial-window-system (not noninteractive) (not (eq initial-window-system 'pc))))) + ;; If face-font-rescale-alist has changed, reload the + ;; default font. + (unless (eq face-font-rescale-alist + old-face-font-rescale-alist) + (set-face-attribute 'default nil :font (font-spec))) ;; Modify the initial frame based on what .emacs puts into ;; ...-frame-alist. (if (fboundp 'frame-notice-user-settings) Diff finished. Sat Apr 18 00:07:09 2009 From monnier@iro.umontreal.ca Sat Apr 18 11:15:00 2009 Received: (at 1785) by emacsbugs.donarmstrong.com; 18 Apr 2009 18:15:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3IIEvDV016399 for <1785@emacsbugs.donarmstrong.com>; Sat, 18 Apr 2009 11:14:58 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8FAAu16UlLd+7D/2dsb2JhbACBTstdg30GhSg X-IronPort-AV: E=Sophos;i="4.40,210,1238990400"; d="scan'208";a="37263487" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 18 Apr 2009 14:14:52 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0DBED7EFC; Sat, 18 Apr 2009 14:14:52 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Cc: 1785@debbugs.gnu.org, Kenichi Handa Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect Message-ID: References: <87bpquiot3.fsf@cyd.mit.edu> Date: Sat, 18 Apr 2009 14:14:52 -0400 In-Reply-To: <87bpquiot3.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 18 Apr 2009 00:11:20 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> > 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. > Until a better solution comes along, I propose dealing with this > situation with the following hack in startup.el: check to see if the > init file changed face-font-rescale-alist, and reload the default face > if necessary. Can't we fix it right and make clear-face-cache refresh the default face as well? If the right fix is really too much trouble, then I guess your workaround is OK, but then it needs to come with a heavy dose of comments explaining why it's there and how to get rid of it. Stefan From cyd@stupidchicken.com Wed Apr 22 07:03:01 2009 Received: (at 1785) by emacsbugs.donarmstrong.com; 22 Apr 2009 14:03:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3ME2wSq019624 for <1785@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 07:02:59 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id AADDE57E246; Wed, 22 Apr 2009 10:04:52 -0400 (EDT) From: Chong Yidong To: Stefan Monnier Cc: 1785@debbugs.gnu.org, Kenichi Handa Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect References: <87bpquiot3.fsf@cyd.mit.edu> Date: Wed, 22 Apr 2009 10:04:52 -0400 In-Reply-To: (Stefan Monnier's message of "Sat, 18 Apr 2009 14:14:52 -0400") Message-ID: <878wls3htn.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Monnier writes: >> Until a better solution comes along, I propose dealing with this >> situation with the following hack in startup.el: check to see if the >> init file changed face-font-rescale-alist, and reload the default face >> if necessary. > > Can't we fix it right and make clear-face-cache refresh the default face > as well? If the right fix is really too much trouble, then I guess your > workaround is OK, but then it needs to come with a heavy dose of > comments explaining why it's there and how to get rid of it. I think the right fix is to refresh all font objects that have already been created. However, there's currently no way to find them. At startup, however, I think only the default face has a font object assigned to it---that's why I suggested this hack. Yeah, it's a pretty awful hack, but I don't see a better short-term solution. From cyd@stupidchicken.com Sat Apr 25 07:26:45 2009 Received: (at 1785) by emacsbugs.donarmstrong.com; 25 Apr 2009 14:26:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3PEQgjD025562 for <1785@emacsbugs.donarmstrong.com>; Sat, 25 Apr 2009 07:26:43 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 574F557E251; Sat, 25 Apr 2009 10:26:42 -0400 (EDT) From: Chong Yidong To: Stefan Monnier Cc: 1785@debbugs.gnu.org, Kenichi Handa Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect Date: Sat, 25 Apr 2009 10:26:42 -0400 Message-ID: <87vdos4xnh.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have checked in the work-around for this bug. A more comprehenssive fix can wait till after the release. In the meantime, I'll downgrade the bug severity to normal. From cyd@stupidchicken.com Sat Apr 25 07:27:26 2009 Received: (at control) by emacsbugs.donarmstrong.com; 25 Apr 2009 14:27:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3PEROga025579 for ; Sat, 25 Apr 2009 07:27:25 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 4469457E251; Sat, 25 Apr 2009 10:27:24 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 1785 normal Date: Sat, 25 Apr 2009 10:27:24 -0400 Message-ID: <87skjw4xmb.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 1785 normal reassign 3102 spam reassign 3103 spam reassign 3104 spam thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 23:14:26 2016 Received: (at 1785) by debbugs.gnu.org; 7 Jan 2016 04:14:26 +0000 Received: from localhost ([127.0.0.1]:40763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aH1xy-000762-4l for submit@debbugs.gnu.org; Wed, 06 Jan 2016 23:14:26 -0500 Received: from mail-qg0-f49.google.com ([209.85.192.49]:34901) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aH1xw-00075i-Ek; Wed, 06 Jan 2016 23:14:24 -0500 Received: by mail-qg0-f49.google.com with SMTP id o11so319472893qge.2; Wed, 06 Jan 2016 20:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=lu9YsCEtST9u3nMIlUwCQc9mK+2sAv3fb8seqpsaRbA=; b=BVX3G3h3C2/7EoHkBz2Rm+uYYyOGsEUmcA2tbdXav1h8t8S2F0IL+/80LpXrxWnqrW sFht5bq9eCYekVit3K9KV1KLZEiT1s2cVYbcoqsdRSofITfOiZ590JurM/VM3lc5KUlO Mku4ugUExKfBMmssgXr/DUd9ooOYtSpTfds2dNGMek96Dh5Cv/3FA150ywlBsO19u0DP PmHPZry2sFXZFuNqh5BFWMaJJ8ek7brIaO6pduemWTFGHOZdfPW0lzQwpUQxPnxH8n7i FwjGtRtabaBBlWr2otPBRrc4eBIyUDMJdjqAwlqsWxi5id9wh8gCLYgYHHiddrm2QaKC tEGw== X-Received: by 10.140.43.69 with SMTP id d63mr124074831qga.18.1452140059065; Wed, 06 Jan 2016 20:14:19 -0800 (PST) Received: from Andrews-MacBook-Pro.local.ahyatt-laptop (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id n91sm37027843qkh.11.2016.01.06.20.14.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2016 20:14:18 -0800 (PST) From: Andrew Hyatt To: "Juanma Barranquero" Subject: Re: bug#1547: face-font-rescale-alist has no effect References: Date: Wed, 06 Jan 2016 23:14:16 -0500 In-Reply-To: (Juanma Barranquero's message of "Fri, 12 Dec 2008 11:53:56 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 1785 Cc: Bug-Gnu-Emacs , 1547@debbugs.gnu.org, 1785@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "Juanma Barranquero" writes: > Package: emacs > Version: 23.0.60 > X-Debbugs-CC: handa@m17n.org > > [Just a reminder, so the issue is not lost] > > Font rescaling is unimplemented in the new font backend. > > It was already discussed on the list: > > http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg01155.html I'm looking at this for Emacs 25, just to see if it can reproduce. I believe this is still the case. Here's how I attempted to reproduce it (keep in mind I don't have any particular knowledge of this functionality). 1) Start emacs with "emacs -Q" in a window (X-windows, or other system capable of handling different fonts) 2) Eval, in the scratch buffer, (add-to-list 'face-font-rescale-alist (cons (font-at 1) 4.0)). >From the variable docs, I would expect the text to get 4 times bigger after changing the variable, but instead nothing happens. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 15:40:23 2016 Received: (at 1785) by debbugs.gnu.org; 9 Jul 2016 19:40:23 +0000 Received: from localhost ([127.0.0.1]:44397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLy6x-0008Og-0f for submit@debbugs.gnu.org; Sat, 09 Jul 2016 15:40:23 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:33055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLy6v-0008OP-IA; Sat, 09 Jul 2016 15:40:21 -0400 Received: by mail-io0-f174.google.com with SMTP id t74so70025942ioi.0; Sat, 09 Jul 2016 12:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rgzNQPuqR34RJSX+4lVFnTYAiSIqjZt2ZiVyOvyHwwA=; b=dJGj67FhFvK0IVzsDmm0HSeU2wqfnLOLss/pdrILyN7Z/+x6qwIQBzRt115/amgo8T oT3lB/jweJz9g5hMsXOWOcyKn0esLXcDcJvGMfLu7aJhWdG3piaAqBH2QQB3YwZl1Tjw NAm+SKA0tPC4a+KxE9AybGd0kCzFvoJh9V9jApZ6EZXy6MMexT8q2QyDDsokcCoHHKIr m//nVAXlBCxfy9ICw7K+i0GnPixGwCi2vU9olHXR5AcVeW1RNxDAYjgg2t4gXpSf6N/I nZRrB/InRtp8AK2Xkj3jn9LTtdD2D4TLdAScy3184aDxz51Y3fs6udOUppUSb7FXcPP8 zrKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=rgzNQPuqR34RJSX+4lVFnTYAiSIqjZt2ZiVyOvyHwwA=; b=JIHJhCwM2LgtNNNV1KJIDwQzVuaL6BQHZCRqmq7Xu4RHrp5fABJwPPhMOvKk0LuvXP LCoOy7KPzne9Ealo1tyBrqcBE5yzJoj65iwQKRlQ3dwzrRWrNj/IAF2negzBNr/yhiUI UzwAUP5OpuzD1FGU/hEomngJLdeVEqry6mluzHsSZO9RZRrVRuoPKoK382sxRvDkpx8U B805z0hR1AoKK/iEHWJ7maa/nLBiIghZ4egDTPxbUF1nopTw/KT8QI/U5rHYtWApqxnA Ddf4OR1IXUgAwM223LWSG+ryu5RZMS8omOGMO+3/3+A8FXpnSv29GyCD+ze2HBQthgOT WAgQ== X-Gm-Message-State: ALyK8tKtAQ8SaCc0wygt0NnCsxDyjGGPEV1+cYsxaty4BzX6Ho0kJzLhXuQJo5ruLc95ZA== X-Received: by 10.107.56.215 with SMTP id f206mr13749445ioa.188.1468093216019; Sat, 09 Jul 2016 12:40:16 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id 76sm5073502ioe.26.2016.07.09.12.40.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jul 2016 12:40:15 -0700 (PDT) From: npostavs@users.sourceforge.net To: Andrew Hyatt Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect References: Date: Sat, 09 Jul 2016 15:40:14 -0400 In-Reply-To: (Andrew Hyatt's message of "Wed, 06 Jan 2016 23:14:16 -0500") Message-ID: <87a8hqiorl.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 1785 Cc: Juanma Barranquero , 1547@debbugs.gnu.org, 1785@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Andrew Hyatt writes: > I'm looking at this for Emacs 25, just to see if it can reproduce. I > believe this is still the case. Here's how I attempted to reproduce it > (keep in mind I don't have any particular knowledge of this > functionality). > > 1) Start emacs with "emacs -Q" in a window (X-windows, or other system > capable of handling different fonts) > 2) Eval, in the scratch buffer, (add-to-list 'face-font-rescale-alist > (cons (font-at 1) 4.0)). I think that's not right format for face-font-rescale-alist, the car should be a string, not a font object. Doing (add-to-list 'face-font-rescale-alist '(".*" . 4.0)) and tnen opening a new frame gives enlarged text in the new frame, and causes only buffer name in the modeline the original frame to be enlarged. Also it looks like the buffer name in the modeline of the new frame is enlarged twice. So it mostly works, but there is some difficulty with the existing faces used in the current frame. Doing emacs -Q --eval "(add-to-list 'face-font-rescale-alist '(\".*\" . 4.0))" does give enlarged text in the initial frame. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 00:04:38 2016 Received: (at 1785) by debbugs.gnu.org; 14 Jul 2016 04:04:38 +0000 Received: from localhost ([127.0.0.1]:50410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNXt8-0007VE-Ab for submit@debbugs.gnu.org; Thu, 14 Jul 2016 00:04:38 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:32915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNXt6-0007Uk-Sh; Thu, 14 Jul 2016 00:04:37 -0400 Received: by mail-qt0-f169.google.com with SMTP id w38so36952390qtb.0; Wed, 13 Jul 2016 21:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=h2iecDih2lCyIkXTQzS2EhcC+seaIXubYC9T2AOj5ms=; b=VlVMCSv1kgY3GpHfplzAOHi+6UAXDulPhgTaarH2WlA9ZHRTVbLnjlcEQh2+OXqJ+T PxZhZYDiJl3DYtYeBECtwBAqnXSjMyeW67ItX/wSj46loOmjINQRHOhRrrJD+LprDGLO 22upcmQKo86EpiT3jE4Gfe4+6UPib8cnyvibkolWOvxRD48x8JIMtnM202GVgXfbI0aZ CZU6luah2oNSwdCEbsBd2/9/UJSj6ZWl5UoBGK0MpW2pX7gTz+9mKStsh9HdkX3FZ9MS S1363JxhpdgLCCD8/TdYbUqWkllKEZ70prmrfah5yj55F4WT3VnzQnRUdLttbugGilDf zqBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=h2iecDih2lCyIkXTQzS2EhcC+seaIXubYC9T2AOj5ms=; b=atnKmnF6h9HCELz9IkInQ/Rh4/YLKJrYjTlkhjb9VpARxKreZSUZ5JONlZ8hCsYfiC xtfAkhLaWwR8shRwZo0wlScVwRbnjWPujELc8Z0mC5qR1k8tjL7g9mWqnIAByK6QUBBy EfV+Tpis9G3fhekdTsUD1+QQJk0T9WsAWYHm3cOpDck3MmpwFLcEIw6h0eacsPUiLcvg eU+pNysTOd+wGIq8W7bfnRq1Mqhwkrg2HHtYtewtSXhbsQcB6y1+8uOq1EfareSBe2/7 9er6n2aQuk33VYckwmizt1SaLLY88pt//4X7L+u1AUAxdnxbUH6jfnr85QtSUkQpEnPy vNOQ== X-Gm-Message-State: ALyK8tI15SFF2WeVL4FA/iZx4xZXm5lqIloSxuA5rD1U7mdBXWeTaCtQEOJj+EfzScdnxQ== X-Received: by 10.200.42.69 with SMTP id l5mr17337444qtl.13.1468469071215; Wed, 13 Jul 2016 21:04:31 -0700 (PDT) Received: from Andrews-MacBook-Pro.local (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id d190sm200092qke.18.2016.07.13.21.04.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jul 2016 21:04:28 -0700 (PDT) From: Andrew Hyatt To: npostavs@users.sourceforge.net Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect References: <87a8hqiorl.fsf@users.sourceforge.net> Date: Thu, 14 Jul 2016 00:04:16 -0400 In-Reply-To: <87a8hqiorl.fsf@users.sourceforge.net> (npostavs's message of "Sat, 09 Jul 2016 15:40:14 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 1785 Cc: Juanma Barranquero , 1547@debbugs.gnu.org, 1785@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) npostavs@users.sourceforge.net writes: > Andrew Hyatt writes: >> I'm looking at this for Emacs 25, just to see if it can reproduce. I >> believe this is still the case. Here's how I attempted to reproduce it >> (keep in mind I don't have any particular knowledge of this >> functionality). >> >> 1) Start emacs with "emacs -Q" in a window (X-windows, or other system >> capable of handling different fonts) >> 2) Eval, in the scratch buffer, (add-to-list 'face-font-rescale-alist >> (cons (font-at 1) 4.0)). > > I think that's not right format for face-font-rescale-alist, the car > should be a string, not a font object. Doing > > (add-to-list 'face-font-rescale-alist '(".*" . 4.0)) > > and tnen opening a new frame gives enlarged text in the new frame, and > causes only buffer name in the modeline the original frame to be > enlarged. Also it looks like the buffer name in the modeline of the new > frame is enlarged twice. So it mostly works, but there is some > difficulty with the existing faces used in the current frame. > > Doing > > emacs -Q --eval "(add-to-list 'face-font-rescale-alist '(\".*\" . 4.0))" > > does give enlarged text in the initial frame. Thanks for the information. I tried this out on a Mac and found that, with your corrected expression, I was able to see roughly what you see, with the exception that some faces were not rescaled for some reason, except when I started it with the rescale list eval'd at emacs start time. So, as you note, there are still some bugs here, enough (IMHO) to leave this open and at the same priority. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 11:09:02 2016 Received: (at 1785) by debbugs.gnu.org; 14 Jul 2016 15:09:02 +0000 Received: from localhost ([127.0.0.1]:51577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNiG6-0003Oz-2c for submit@debbugs.gnu.org; Thu, 14 Jul 2016 11:09:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNiG4-0003OU-9o for 1785@debbugs.gnu.org; Thu, 14 Jul 2016 11:09:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNiFy-0006C2-Aa for 1785@debbugs.gnu.org; Thu, 14 Jul 2016 11:08:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiFy-0006Bs-7D; Thu, 14 Jul 2016 11:08:54 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1761 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNiFx-0000af-85; Thu, 14 Jul 2016 11:08:53 -0400 Date: Thu, 14 Jul 2016 18:08:41 +0300 Message-Id: <83a8hk8dfq.fsf@gnu.org> From: Eli Zaretskii To: Andrew Hyatt In-reply-to: (message from Andrew Hyatt on Thu, 14 Jul 2016 00:04:16 -0400) Subject: Re: bug#1785: bug#1547: face-font-rescale-alist has no effect References: <87a8hqiorl.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 1785 Cc: 1785@debbugs.gnu.org, lekktu@gmail.com, 1547@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Andrew Hyatt > Date: Thu, 14 Jul 2016 00:04:16 -0400 > Cc: Juanma Barranquero , 1547@debbugs.gnu.org, > 1785@debbugs.gnu.org > > > emacs -Q --eval "(add-to-list 'face-font-rescale-alist '(\".*\" . 4.0))" > > > > does give enlarged text in the initial frame. > > Thanks for the information. I tried this out on a Mac and found that, > with your corrected expression, I was able to see roughly what you see, > with the exception that some faces were not rescaled for some reason, > except when I started it with the rescale list eval'd at emacs start > time. > > So, as you note, there are still some bugs here, enough (IMHO) to leave > this open and at the same priority. Actually, I'd think the priority should be lowered, as rescaling all the fonts makes little sense to me. FWIW. Of course, if someone wants to work on this, I will gladly help by whatever advice I can give. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 13:58:38 2019 Received: (at 1785) by debbugs.gnu.org; 31 Oct 2019 17:58:38 +0000 Received: from localhost ([127.0.0.1]:54261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEiU-0002Dx-Dv for submit@debbugs.gnu.org; Thu, 31 Oct 2019 13:58:38 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEiS-0002Dl-FO; Thu, 31 Oct 2019 13:58:37 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQEiN-0003ND-UW; Thu, 31 Oct 2019 18:58:34 +0100 From: Lars Ingebrigtsen To: Kenichi Handa Subject: Re: bug#1547: face-font-rescale-alist has no effect References: Date: Thu, 31 Oct 2019 18:58:31 +0100 In-Reply-To: (Kenichi Handa's message of "Sat, 13 Dec 2008 12:30:26 +0900") Message-ID: <878sp06blk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kenichi Handa writes: > In article > , "Juanma > Barranquero" writes: > >> [Just a reminder, so the issue is not lost] > >> Font rescaling is [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 1785 Cc: Juanma Barranquero , 1547@debbugs.gnu.org, 1785@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kenichi Handa writes: > In article > , "Juanma > Barranquero" writes: > >> [Just a reminder, so the issue is not lost] > >> Font rescaling is unimplemented in the new font backend. > > Thank you for the reminder. I've just installed a fix. This was ten years ago, and as far as I can tell, font scaling works just fine these days. So I'm closing this bug report. Please reopen if there are any further issues that haven't been addressed in the meantime. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 13:58:44 2019 Received: (at control) by debbugs.gnu.org; 31 Oct 2019 17:58:44 +0000 Received: from localhost ([127.0.0.1]:54266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEia-0002EM-2v for submit@debbugs.gnu.org; Thu, 31 Oct 2019 13:58:44 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEiV-0002EC-OM for control@debbugs.gnu.org; Thu, 31 Oct 2019 13:58:40 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQEiS-0003NL-UP for control@debbugs.gnu.org; Thu, 31 Oct 2019 18:58:38 +0100 Date: Thu, 31 Oct 2019 18:58:36 +0100 Message-Id: <877e4k6blf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #1785 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 1785 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 1785 quit From unknown Mon Aug 18 14:25:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Nov 2019 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator