From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43128: Acknowledgement (27.1; DPI change not detected after switching to Emacs 27.1) Date: Wed, 02 Sep 2020 17:18:40 +0300 Message-ID: <83zh68uurj.fsf@gnu.org> References: <87k0xf9sqv.fsf@luffy.cx> <878sdsljrt.fsf@luffy.cx> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43128@debbugs.gnu.org, bernat@luffy.cx To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 02 16:20:10 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 1kDTcQ-00080b-4d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 16:20:10 +0200 Original-Received: from localhost ([::1]:54360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDTcP-0006Qm-4w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 10:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDTcJ-0006Qf-2t for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 10:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDTcI-0000V6-Px for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 10:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDTcI-00080U-Ku for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 10:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Sep 2020 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43128 X-GNU-PR-Package: emacs Original-Received: via spool by 43128-submit@debbugs.gnu.org id=B43128.159905634230690 (code B ref 43128); Wed, 02 Sep 2020 14:20:02 +0000 Original-Received: (at 43128) by debbugs.gnu.org; 2 Sep 2020 14:19:02 +0000 Original-Received: from localhost ([127.0.0.1]:60261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDTbJ-0007ys-Nl for submit@debbugs.gnu.org; Wed, 02 Sep 2020 10:19:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDTbI-0007yc-Jr for 43128@debbugs.gnu.org; Wed, 02 Sep 2020 10:19:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45944) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDTbD-0000Rf-Bm; Wed, 02 Sep 2020 10:18:55 -0400 Original-Received: from [176.228.60.248] (port=4091 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kDTbC-00016r-L7; Wed, 02 Sep 2020 10:18:55 -0400 In-Reply-To: (message from YAMAMOTO Mitsuharu on Wed, 02 Sep 2020 16:58:59 +0900) 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:186935 Archived-At: > Date: Wed, 02 Sep 2020 16:58:59 +0900 > From: YAMAMOTO Mitsuharu > Cc: 43128@debbugs.gnu.org > > > After investigating a bit, I see that `read_settings()' is correctly > > called and the DPI retrieved is correct. However, `apply_xft_settings()' > > seems to be a noop for me. > > The function apply_xft_settings wasn't a no-op when I originally > removed the dependency on Xft if USE_CAIRO. But it was changed to a > no-op as a workaround for Bug#36284. Bug#36284 seems to be about an issue unrelated to DPI scaling. is there perhaps a way to keep parts of it that will allow to adapt to the DPI change? > As I mentioned in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36284#8, > a proper fix would be to implement replacements for > XftDefaultSubstitute and XftDefaultSet. How complicate will such a change be? Will it be simple and safe enough to allow installing such a change on the emacs-27 branch? Thanks.