diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-15 19:07:44 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-15 19:48:39 +0800 |
commit | 833e60ae1a5dd4301eb556460285414f4fea9fec (patch) | |
tree | 9a5288bc252262a470596480f8c3cc49baa6ee13 /src/xml.c | |
parent | 0ac626f1d4eba84bd988a16991178ff25a07ece5 (diff) | |
download | emacs-833e60ae1a5dd4301eb556460285414f4fea9fec.tar.gz emacs-833e60ae1a5dd4301eb556460285414f4fea9fec.tar.bz2 emacs-833e60ae1a5dd4301eb556460285414f4fea9fec.zip |
Fix recent Cairo xsettings changes
* lisp/dynamic-setting.el (font-setting-change-default-font):
Instead of setting the font frame parameter, just clear the font
and face cache and redraw the display. This will re-open all
fonts as well.
* src/ftcrfont.c (ftcrfont_get_default_font_options): New
function.
* src/ftfont.h: Export.
* src/xsettings.c (apply_xft_settings): Call that function to
obtain the default font settings on Cairo. (bug#58912,
bug#59283, bug#59271)
Diffstat (limited to 'src/xml.c')
0 files changed, 0 insertions, 0 deletions