From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kirill Ignatiev Newsgroups: gmane.emacs.bugs Subject: bug#19408: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings Date: Thu, 3 Dec 2020 12:53:49 +0000 Message-ID: References: <875z5jqdwf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 19408@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 03 14:01:52 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 1kkoF5-0005bb-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 14:01:51 +0100 Original-Received: from localhost ([::1]:60650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkoF4-0006c0-1P for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 08:01:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kko8U-0007dL-PX for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kko8U-0000bn-GF for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kko8U-0004PA-D7 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 07:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kirill Ignatiev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2020 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19408-submit@debbugs.gnu.org id=B19408.160700004916863 (code B ref 19408); Thu, 03 Dec 2020 12:55:02 +0000 Original-Received: (at 19408) by debbugs.gnu.org; 3 Dec 2020 12:54:09 +0000 Original-Received: from localhost ([127.0.0.1]:38877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kko7d-0004Nu-5M for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:54:09 -0500 Original-Received: from mail-pj1-f50.google.com ([209.85.216.50]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kko7a-0004NO-SP for 19408@debbugs.gnu.org; Thu, 03 Dec 2020 07:54:08 -0500 Original-Received: by mail-pj1-f50.google.com with SMTP id l23so1069150pjg.1 for <19408@debbugs.gnu.org>; Thu, 03 Dec 2020 04:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HAXvJv0dHP8o1/L+DGJ5ZaeBwCPZUaQIpsmRywXAuRA=; b=TLmGbn7ySVVwKl74blx8Ol4WabIdVRbpEITr8z/f3Ztprvc+whANSOMjSBRfMVqv/q YbfnCtY44JDgdqqw+Hh4t6sK850gsMb/B0qupezEa+tfq6dJCOGnqOdykhfy88SMOhkQ 5yEuiSZ5FAh4Nsk798SfRrcD5Cra4GMsO+Q935YYFUIE0veRghYCRM3Fz6QZ4wqCPVvU A10usDjlLL7M4Zc6WasFu0DDWpSbKjJ7diBgU7MuR9b5YEmBDxeq0OZnxGmOy0+9KtNp 8cE1RDYSkXKAQVJndXDYzluZqMB/xLYz0ynUWkRbgcTCODmud18PMsB43de+SzNZ8p9h h7dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HAXvJv0dHP8o1/L+DGJ5ZaeBwCPZUaQIpsmRywXAuRA=; b=BVZiS9G56Kc5MqpGMJkIS+YmXlGg1GlL4hC49m6Muz1dNpPhfpt4QJmz1clJ+H0xH7 gCFFEvxrsfD/o1jyVnp/ZgI6Eu8FiUtF7drdAQTYrUpLY1leKxt8Gf3CPXMlx61WPYS8 X7wQ0wd+KuujJwX5Ptj9aq37KRGorhExpf77TkqUNWeNEHN8ebufSSWfzdmDe+K7PlV2 y1pwxwJdAxHsncPs0uNFKFWSYnfPNYsS5JA+9xvoB4k/Yecc/ISsw8cg4dvzSyVpCuRF DLDDaHSKiOOZIdY/zQZJbF/zjPa6BacxqwQJ0ig8jv+cfPM9LRgpSu3mPjPxd3jL3brx RqlA== X-Gm-Message-State: AOAM530F9A0TgiO6FIHsWFDnv14rxUNeTmymE6h1J5TGnzsnu9nI66QN Im+4as+f+COjAZ/qU/+xCSU6DCX0K48JRVEBVps= X-Google-Smtp-Source: ABdhPJweQUBGeOSnpa0lrOpEoBOxBqUifmMmVC1vzf5cxzhmu8KybrD62uqSnmjDH59Gsiad25n3FP04HTGOwhQcliM= X-Received: by 2002:a17:90b:1c10:: with SMTP id oc16mr2915132pjb.144.1607000040819; Thu, 03 Dec 2020 04:54:00 -0800 (PST) In-Reply-To: <875z5jqdwf.fsf@gnus.org> 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:194898 Archived-At: No I don't get that any more, that was six years ago now. Thanks for looking at it! On Thu, 3 Dec 2020 at 12:20, Lars Ingebrigtsen wrote: > > 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