GNU bug report logs -
#54564
29.0.50; [PATCH] Use gsettings font rendering entries for pgtk builds
Previous Next
Full log
Message #25 received at 54564 <at> debbugs.gnu.org (full text, mbox):
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: pieter.van.prooijen <at> teloden.nl, 54564 <at> debbugs.gnu.org
> Date: Sat, 26 Mar 2022 14:44:53 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> 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.
This bug report was last modified 3 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.