From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.bugs Subject: bug#43128: Acknowledgement (27.1; DPI change not detected after switching to Emacs 27.1) Date: Thu, 27 Oct 2022 18:55:52 +0200 Message-ID: <96ed612e-efdf-8c46-e488-39a39a5beb0d@luffy.cx> References: <87k0xf9sqv.fsf@luffy.cx> <878sdsljrt.fsf@luffy.cx> <83zh68uurj.fsf@gnu.org> <83y2isug9r.fsf@gnu.org> <87mtqj2tgv.fsf@luffy.cx> <837dhm7bp3.fsf@gnu.org> <87h7gqh5e4.fsf@luffy.cx> <83k04lkyyz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Thunderbird/107.0 Cc: 43128@debbugs.gnu.org, mituharu@math.s.chiba-u.ac.jp To: Eli Zaretskii , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 18:57:48 2022 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 1oo6CR-000A7A-4y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 18:57:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo6Bl-0002hW-UY; Thu, 27 Oct 2022 12:57:05 -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 1oo6Bk-0002Du-Pj for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo6Bi-0003os-T5 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:57:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo6Bi-0002ex-Jg for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Bernat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 16:57: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.166688976210144 (code B ref 43128); Thu, 27 Oct 2022 16:57:02 +0000 Original-Received: (at 43128) by debbugs.gnu.org; 27 Oct 2022 16:56:02 +0000 Original-Received: from localhost ([127.0.0.1]:59162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6Ak-0002dN-5t for submit@debbugs.gnu.org; Thu, 27 Oct 2022 12:56:02 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6Ai-0002d3-1P for 43128@debbugs.gnu.org; Thu, 27 Oct 2022 12:56:01 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E8D655C00E8; Thu, 27 Oct 2022 12:55:53 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 27 Oct 2022 12:55:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=luffy.cx; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1666889753; x= 1666976153; bh=l9btiti4Kc+Y8kFkTXzT0vOI73dJbJ1o7feRodEi4uM=; b=U 37bmLE+IVjOGHAewdfToPKh/y2Irog2pDIDrQX0WsNxiwKXsu0xg7hs4Fl/IKiQk Kd5heWuKlKuZoeeSmaVesEDwujxGQsqmcW64Rwmkf5jYBBskrCicTXqPnC/Lbg0Y HoBqWgXsr4pzL0h9JlXrrNqq/hX4RF3jQwsyWiFVTf25q9oTv892Noy9GfBox0r9 z1EK+ysfmjjS7EfnNCoHK9XwgDzcGW0WHkZN5u66XW+Suil7a5ohthSvAX3iTSC3 aRXWzjQBuf4NCBkdulPA0SeylKTvjR3pwQobY4atzGKJmIzYy1upPxrCryLK5yTY kRER1e9zrjIHXkysBnOow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666889753; x= 1666976153; bh=l9btiti4Kc+Y8kFkTXzT0vOI73dJbJ1o7feRodEi4uM=; b=m 35t5RqUouGOIeQwhU11BALpdrP87lEuJscJkZgytTKhTEPZcLI73dSc7dmUbJrSY jXUAUojhpbBI3+KhjJLs2j3gnqVICybNJsE0oWf7GiBYYvwUwCbWdMXWnwmhuaRO y3LQjMlX01QxMAhvEEgkVBKe/wAySpf/VNs5qrYgfVR+vV5S3DGd4koc7RhmqA49 PiXCta6Zmoeb18CWmUpfVGQNqpr2Mo1mVk5aJlXFhZh1AJi3Sljy3WYFD+Ow2eTY mw1VTxbMYHOmaae/SmEq9Fbi9mhpDIljeLWDuiwOwBcyXbdMBfyFFydJ4PkQVphC bfrgxGe02h6cLco0WlZiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeggihhn tggvnhhtuceuvghrnhgrthcuoegsvghrnhgrtheslhhufhhfhidrtgigqeenucggtffrrg htthgvrhhnpedugeeijefhheffheevgeegueefgfetleejvdduudegfefgjeevueeflefg vdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gsvghrnhgrtheslhhufhhfhidrtgig X-ME-Proxy: Feedback-ID: i34d144f1:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Oct 2022 12:55:52 -0400 (EDT) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by wally.luffy.cx (Postfix) with ESMTP id 6C0E85F7A0; Thu, 27 Oct 2022 18:55:52 +0200 (CEST) Content-Language: en-US In-Reply-To: <83k04lkyyz.fsf@gnu.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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246335 Archived-At: On 2022-10-27 18:33, Eli Zaretskii wrote: >> Date: Tue, 25 Oct 2022 23:02:16 +0200 >> From: Vincent Bernat >> Cc: mituharu@math.s.chiba-u.ac.jp, 43128@debbugs.gnu.org >> >>> I'll try to do something, but I have no experience with either Xft or >>> Cairo, so if that's something clever to do, I am likely to fail. >> >> I was able to build this patch. I did replace XftDefaultSubstitute() by >> something that looks correct. However, for XftDefaultSet(), it seems >> there is no mechanism to override the defaults for fontconfig or cairo, >> so it seems not needed to find a substitute. > > Sorry, I don't understand. Are you saying that the patch you posted > solves the problem for you? Then what do you mean in the last > sentence above about XftDefaultSet? The patch works for me, but I was unable to replace XftDefaultSet. From my understanding, while Xft has a way to override the defaults, this is not the case for fontconfig and Cairo. So, I suppose this is not needed for fontconfig and Cairo and other parts of the code should ensure the new settings are used without relying on defaults. Also, the Cairo-specific part of the patch makes no difference for me. I have included it because Cairo documentation says to put it there.