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#54564: 29.0.50; [PATCH] Use gsettings font rendering entries for pgtk builds Date: Sat, 26 Mar 2022 10:45:21 +0300 Message-ID: <838rsxb1im.fsf@gnu.org> References: <165c1dab82dbf3233ed5f9f481a008eb724aff31.camel@teloden.nl> <87o81t5x9o.fsf@yahoo.com> <83fsn5b6cj.fsf@gnu.org> <8735j55js6.fsf@yahoo.com> <83czi9b5gh.fsf@gnu.org> <87v8w143h6.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9150"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54564@debbugs.gnu.org, pieter.van.prooijen@teloden.nl To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 08:46:14 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 1nY17m-0002Bf-CA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 08:46:14 +0100 Original-Received: from localhost ([::1]:53254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY17k-0000RL-SG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 03:46:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY17a-0000R9-5k for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 03:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nY17Z-0004zA-Rt for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 03:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nY17Z-00031p-Mu for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2022 03:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Mar 2022 07:46:01 +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.164828073211601 (code B ref 54564); Sat, 26 Mar 2022 07:46:01 +0000 Original-Received: (at 54564) by debbugs.gnu.org; 26 Mar 2022 07:45:32 +0000 Original-Received: from localhost ([127.0.0.1]:53006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY176-000312-Di for submit@debbugs.gnu.org; Sat, 26 Mar 2022 03:45:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY174-00030q-IQ for 54564@debbugs.gnu.org; Sat, 26 Mar 2022 03:45:30 -0400 Original-Received: from [2001:470:142:3::e] (port=47796 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY16z-0004s8-87; Sat, 26 Mar 2022 03:45:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=x4UWI+dlUqSmXolMp0hI3iBK1HpU0UpON1TiuEDnVbo=; b=Qz+JjNwUIvLV Dfn/qkp+TRhnZlo27j+YPokfMMh+LshhJiR301ZNa2ttNGMro1+p8xeMUoiZN/9i8lJivOYTJ5+Oi xKUL0W6dZ4QaXkadSM8JB/0cno4K3L9qhD+VTy6GZMRPxLnRlwxLEOmQoewQysXb/yJ1DGnDEVmk1 EiFMWPu397VAefid1P2KXcGr+urzzPjVB4FvzB+yUz+EH60xkhqOiLcvCaw7xtaRTaRKwEeHMb0DH LkPKAwEbfRawcbbZ33/Cw5cgzXp/QHCbZY8uav/kJE1ZK4k7/L4EG7I6Da1R4yjXUNOl/fDADgs4S AuW/WR1fpFsQboazA+lEsw==; Original-Received: from [87.69.77.57] (port=2806 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY16y-0001Y8-Lv; Sat, 26 Mar 2022 03:45:25 -0400 In-Reply-To: <87v8w143h6.fsf@yahoo.com> (message from Po Lu on Sat, 26 Mar 2022 14:44:53 +0800) 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:228969 Archived-At: > From: Po Lu > Cc: pieter.van.prooijen@teloden.nl, 54564@debbugs.gnu.org > Date: Sat, 26 Mar 2022 14:44:53 +0800 > > Eli Zaretskii writes: > > > Does the below fit the bill? > > > > clear_face_cache (true); > > > > Or did you mean to do this only on a single frame (or on specific > > selected frames)? Then looking inside clear_face_cache will tell you > > how to do that. > > It should be done for each frame on every display, so clear_face_cache > probably does fit the bill. (Though perhaps clear_font_cache on each > window system frame by itself will be enough?) You cannot clear the font cache of a frame without also clearing all the faces on that frame. Fonts are face attributes in Emacs, so faces have references to fonts. > > I don't see any references to that variable in the patch you are > > discussing. And its name and doc string don't seem to give any clue > > that it's relevant to this issue. Is this only for fixed-pitch fonts? > > No, this is supposed to work for all fonts. Then I Think the existing variable is not the solution, as it explicitly talks about fixed-pitch fonts.