1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Describe how to debug fontconfig issues

* etc/PROBLEMS: Add FC_DEBUG usage pointers.
This commit is contained in:
Robert Pluim 2021-10-20 18:22:40 +02:00
parent c916040921
commit 2d647e88fa

View File

@ -751,6 +751,18 @@ Try removing or moving aside "$XDG_CONFIG_HOME/fontconfig/conf.d" and
"$XDG_CONFIG_HOME/fontconfig/fonts.conf" "$XDG_CONFIG_HOME/fontconfig/fonts.conf"
($XDG_CONFIG_HOME is treated as "~/.config" if not set) ($XDG_CONFIG_HOME is treated as "~/.config" if not set)
Running Emacs as
FC_DEBUG=1024 emacs
will cause fontconfig to output information about which configuration
files it is reading. Running Emacs as
FC_DEBUG=1 emacs
will result in information about the results of fontconfig's font
matching (including the filename(s) of the resulting fonts).
*** This can occur when two different versions of FontConfig are used. *** This can occur when two different versions of FontConfig are used.
For example, XFree86 4.3.0 has one version and Gnome usually comes For example, XFree86 4.3.0 has one version and Gnome usually comes
with a newer version. Emacs compiled with Gtk+ will then use the with a newer version. Emacs compiled with Gtk+ will then use the