aboutsummaryrefslogtreecommitdiffstats
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
authorPo Lu2022-05-19 20:10:19 +0800
committerPo Lu2022-05-19 20:10:19 +0800
commitc15430997679fced7ef6adc23cbc59d0cfa3d625 (patch)
tree43b014a1790c32856e815d5d516b050a442aade7 /etc/PROBLEMS
parent0a4d9f26ee9b24ecf0a8b1fb14d4b4bab5daa3ae (diff)
downloademacs-c15430997679fced7ef6adc23cbc59d0cfa3d625.tar.gz
emacs-c15430997679fced7ef6adc23cbc59d0cfa3d625.zip
Whitelist some incorrectly labeled "color" fonts under Xft
* etc/PROBLEMS: Document problem with fonts incorrectly labeled as color fonts under Xft. * src/ftfont.c (xft_color_font_whitelisted_p): New function. (ftfont_spec_pattern, ftfont_list): Respect whitelisting of "color" fonts under Xft. * src/xftfont.c (syms_of_xftfont): New variable `xft-color-font-whitelist'.
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 3e0b73a4d59..4224171298e 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -805,6 +805,22 @@ to take advantage of.
805 805
806* Runtime problems related to font handling 806* Runtime problems related to font handling
807 807
808** Some fonts are detected but not usable under Xft.
809
810Some fonts might not be usable under Emacs even though they show up in
811the font family list when Emacs is built with Xft. This is because
812Emacs prevents fonts that have color glyphs (such as color Emoji) from
813being used, since they typically cause Xft crashes.
814
815On some GNU/Linux systems, fonts (such as Source Code Pro) that do not
816have color glyphs are reported as color fonts, causing them to be
817unavailable when using Xft. This is known to happen under Fedora
818GNU/Linux 36 or later, and possibly other distributions as well.
819
820If you encounter a such a font, you can enable it while ignoring other
821fonts that actually have color glyphs by adding its family name to the
822list `xft-color-font-whitelist'.
823
808** Characters are displayed as empty boxes or with wrong font under X. 824** Characters are displayed as empty boxes or with wrong font under X.
809 825
810*** This may be due to your local fontconfig customization. 826*** This may be due to your local fontconfig customization.