From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19408: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings Date: Thu, 03 Dec 2020 13:20:48 +0100 Message-ID: <875z5jqdwf.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 19408@debbugs.gnu.org To: Kirill Ignatiev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 03 13:22:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkncg-0000x2-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 13:22:10 +0100 Original-Received: from localhost ([::1]:56398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kknce-00040p-Jx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 07:22:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkncY-000402-5k for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:22:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkncX-0006o5-Tm for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:22:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkncX-0001Rp-PL for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2020 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19408 X-GNU-PR-Package: emacs Original-Received: via spool by 19408-submit@debbugs.gnu.org id=B19408.16069980625480 (code B ref 19408); Thu, 03 Dec 2020 12:22:01 +0000 Original-Received: (at 19408) by debbugs.gnu.org; 3 Dec 2020 12:21:02 +0000 Original-Received: from localhost ([127.0.0.1]:38826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknba-0001QK-L5 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:02 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:45886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknbZ-0001PR-F6 for 19408@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U1O197qt+fmpobHa5tCcgzwRErzVlk3+GmTJnANNjxo=; b=Qx5n7NLXPBoyv0D7hZ6qP7OJ+s qosJXYOHJKs9OW01Th2m0bGFsNOhkfGtd8pBEfD763n0K4xExLSzvERoVg80UKC4oKQKV7gm7G+4A 4GUHCBljv6liYStuguptoDh8qlHF02R35p7EZStDKWEF9RCB8lHnGSpKoPdBsMhyaH+8=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kknbN-0003KX-L4; Thu, 03 Dec 2020 13:20:55 +0100 X-Now-Playing: John Coltrane's _A Love Supreme_: "Part 4: Psalm" In-Reply-To: (Kirill Ignatiev's message of "Thu, 18 Dec 2014 15:26:19 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194893 Archived-At: Kirill Ignatiev writes: > Take the following .emacs file: > > (custom-set-faces > '(default ((t (:inherit nil :height 110 :foundry "nil" :family > "Source Code Pro"))))) > > (add-to-list 'face-font-rescale-alist (cons (font-spec :family > "STIXGeneral") 0.95) t) (This bug report unfortunately got no response at the time.) I'm not sure what font that is, but I tried this in Emacs 28: # apt install fonts-stix emacs -Q -l /tmp/stix.el > Run emacs with no other customizations, using -Q -l . The > font in the initial frame in the scratch buffer will be Source Code > Pro, as expected. Open a new frame, the font in that frame will be > some other font (in my case Helvetica), not the default one. I get ftcrhb:-GOOG-Noto Sans CJK KR-normal-normal-normal-*-39-*-*-*-*-0-iso10646-1 (#x2D) in the initial frame, which I guess just means that I don't have Source Code Pro. I then `C-x 5 2', and query the new frame for the font it's using, and it's the same one. So I don't seem to be able to reproduce this problem in Emacs 28 -- are you still seeing it in more recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no