From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Font setting issue in recent emacs dev version Date: Sat, 29 Oct 2022 19:35:37 +1100 Message-ID: <86ilk39euq.fsf@gmail.com> References: <83v8o3i0ml.fsf@gnu.org> <87ilk32gly.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4881"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.1; emacs 29.0.50 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 29 11:10:06 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oohqv-0001Bl-L1 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Oct 2022 11:10:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oohpX-0008Ga-QG; Sat, 29 Oct 2022 05:08:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oohpW-0008Fw-Bh for emacs-devel@gnu.org; Sat, 29 Oct 2022 05:08:38 -0400 Original-Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oohpU-0001Dw-NS; Sat, 29 Oct 2022 05:08:38 -0400 Original-Received: by mail-pj1-x1035.google.com with SMTP id j7so2912275pjn.5; Sat, 29 Oct 2022 02:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=Vhu7GEaqPgHKMls45oRSdBVQxTBUbPxhQiQQBscI9fY=; b=X5KVgrllCc4fn+jNLhTrqbPppCwk957pATR4LG1sROP7yDoeKN6guRdR9VwgLEKbkK x58EhvwjliuRmj96pFUxK1n8X3bWGoKNcoDgDE+227fvGCfz04WemOpGmlNQ3HYrjpfr KKLyJQ9g3pmfgqZUxPp55OgnHWjocF5UHtI3AHHaUg+wW5P41I/bu8ILHPj71AHnDmEp QesTWCGuokRC4+2VpGzUH+QIT5miFMej7kklA1ei8LmbzGlWxzR2x54DqpBR0ou2sBkK 59NDhFC40fqIikAUhJMND0NhvyXvFuryyRxOL7JeIyYgL7YZjGD70uB1lQ9sLZACQ8eO L5zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Vhu7GEaqPgHKMls45oRSdBVQxTBUbPxhQiQQBscI9fY=; b=2sy8qrpZM9h0y5G84udwsClrT2zrt2N0owkWqw4NNwIAm70acOwX5FHlnlHYOolrVx 5BW5GcmmNf7erzmX5IeC1hSeOBLlGpg/ySfOcVJk7sTr+FZioS4RP1SUo6i0/MnB6vKP GH8nRNG5iwU+ajq4n6o888hzn3XQ1GUdBHSodwFL5tDC3r8vwaE7XJlpLSZv484L1o3Z bZmlJjRUDqgLp464Fqk/39O5nMd7Ff7uwNssiHMNZvz8AcJnfH+MwYSXznPVpMHPKbR6 2wVR750J7CjCiSubuWdYIB1L4T+dGnRGt8ZdE2RgPA62v+TyycT352WTf1bccC61by+Y VbBg== X-Gm-Message-State: ACrzQf1syl1vif1YSCziIIKCS3USsU5/bpzBvDuJcpp9Xrrr8i7/cJFq GjdE3Gl43c94BLPNmQUlxC3LD4f9GY4= X-Google-Smtp-Source: AMsMyM69icSOYcHaVkhTGmbormmStBbpnkrrdt1bHSzRqW/ZYqySJA1T7oDUVZzAMUK6r0mi7HeHyQ== X-Received: by 2002:a17:902:7b95:b0:178:ab50:76b5 with SMTP id w21-20020a1709027b9500b00178ab5076b5mr3437686pll.161.1667034514559; Sat, 29 Oct 2022 02:08:34 -0700 (PDT) Original-Received: from dingbat (220-235-181-183.dyn.iinet.net.au. [220.235.181.183]) by smtp.gmail.com with ESMTPSA id z11-20020a1709027e8b00b00186f81a074fsm801838pla.290.2022.10.29.02.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Oct 2022 02:08:34 -0700 (PDT) In-reply-to: <87ilk32gly.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298743 Archived-At: Po Lu writes: > Eli Zaretskii writes: > >> The only change since 83fbda715973f57dc49fe0 that could be somehow >> relevant is the one that touches the support for XSETTINGS on some >> configurations. (If you had reported this as a bug, the bug report >> would have included the details of your configuration, and I could >> then see if those changes could be relevant, instead of >> hypothesizing.) If that is indeed the offending changeset, then I >> guess the issue has something to do with your system-wide font >> settings. >> >> In any case, bisection would be appreciated. > > Indeed. If you haven't changed your display scale settings with Emacs > running, I fail to see how the xsettings changes could be related. This has turned out a little intriguing. Based on Eli's suggestion it could be a local X setting issue, I rebooted and ran 'fc-cache -v' and the issue seems to have gone away. It would seem that something which has changed between revision 83fbda715973f5 and revision ce527464440ca070e752c has made Emacs more 'sensitive' to local font settings issues. Unfortunately, there is nothing in the messages buffer or journalctl logs which sheds any light on what the underlying issue was. Prior to the reboot, Emacs from the earlier revision had no problems loading the font I was requesting (it is a font installed within the user's local font directory). However, later revisions failed and fell back to a Noto font. I was able to reproduce this behaviour reliably using an init.el file which only had the set-face-attribute setting. Since the reboot and running of fc-cache, I can no longer reproduce the issue, so I guess it will remain an unexplained mystery.