From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54564: 29.0.50; [PATCH] Use gsettings font rendering entries for pgtk builds Date: Sat, 26 Mar 2022 14:07:21 +0800 Message-ID: <8735j55js6.fsf@yahoo.com> References: <165c1dab82dbf3233ed5f9f481a008eb724aff31.camel@teloden.nl> <87o81t5x9o.fsf@yahoo.com> <83fsn5b6cj.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6413"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 54564@debbugs.gnu.org, pieter.van.prooijen@teloden.nl To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 07:08:17 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 1nXzaz-0001VK-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 07:08:17 +0100 Original-Received: from localhost ([::1]:42338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXzax-0004Mq-SJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 02:08:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXzal-0004LE-AF for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 02:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXzak-0000pt-OB for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 02:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXzak-0000b0-F5 for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 02:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Mar 2022 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54564-submit@debbugs.gnu.org id=B54564.16482748612262 (code B ref 54564); Sat, 26 Mar 2022 06:08:02 +0000 Original-Received: (at 54564) by debbugs.gnu.org; 26 Mar 2022 06:07:41 +0000 Original-Received: from localhost ([127.0.0.1]:52920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXzaP-0000aP-DD for submit@debbugs.gnu.org; Sat, 26 Mar 2022 02:07:41 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:33787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXzaN-0000aA-FC for 54564@debbugs.gnu.org; Sat, 26 Mar 2022 02:07:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648274853; bh=8VS/+oNgI+4jKWzKkWPHvO67D99O8MBASM8njkJj89U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=WK1H7nBiF3Rcs1eSHMA3Rd57/AOZcIlmvQeKR8NN9hhuYKYWom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66OqH3Ie48EoUYNOWHx vpRSzylvu4DIxO_PyO7vti.hcMWiVReXsWLxMS67QbTq9vOaz2XFZNLGHbsQ2Sln7V8Kp696MMXq A4FnSNYfszjAlwuzv5HGao3ICBAciOH_UDH.Sfk4pk69FdZ7sDh6dgRr_VGov2TYB7146u_IZ7Io 1FGdJTKpNGtT6cQ7w_w1xr5au_2IE3qqmoVzBvharKclN5NnOzS0YPM00JyrR0wL0G7G59gj7P48 QMCGgZDAL.U7SnKP4AfnsenszdOj2TOYPAdsMgHGbgMSGfSxHah117Nc.zfi1Nb316RUji4HDfoh Nr5AhJBvnkLMDZKW7JKWh5uk_Nrp9zj4eypfh7dhy297McoPCBxR24xHxd_h_UFrPIWU1G4onu4D 1AEy5ATvwTtrAmVCOyzm4e_FhOzm2GeqskxMAPd4VHiYr43jvH97KZNnFHbfnl205nnHPjCZTRHF kY1Yorzde5piRoVPc350fi6vD.j7QpcFp.chhi7Em8avml0vigWUkBt6MOvbQINs.GYwPfDmq0zV 0pk3Q7O2VcV8tTMXaQfLvh7sUNVmn07pL4Jxzaqoc_ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sat, 26 Mar 2022 06:07:33 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5dcc4ecaeb17a245bca65eeee77daeca; Sat, 26 Mar 2022 06:07:25 +0000 (UTC) In-Reply-To: <83fsn5b6cj.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Mar 2022 09:01:00 +0300") X-Mailer: WebService/1.1.19987 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:228964 Archived-At: Eli Zaretskii writes: > Maybe I could help if I understood the difficulty well enough. What > exactly is the problem here? In particular, what is meant by "force a > re-creation of the font with the changed parameters"? How can Emacs > "re-create" a font? Basically, Emacs needs to close every open font object created by the ftcr (or ftcrhb) font driver, and open it again, if that makes any sense. > AFAIU, this uses gsettings to determine some Emacs font-related > functionality. One aspect that bothers me is whether users will have > the means to tell Emacs to ignore those gsettings and use the usual > Emacs defaults instead? I don't think it's a good idea to apply those > gsettings unconditionally without letting users override that. I think all the gsettings-related behavior is controlled by `font-use-system-font', but if it's not, we could always make it work that way, or add a new variable. Thanks.