From eb92f89c2125aaf8fdf93cdd85ab46ae278dd950 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 13 Jun 2015 14:51:33 +0300 Subject: [PATCH] Improve the default fontset when Symbola is not installed * lisp/international/fontset.el (setup-default-fontset): Only prepend Symbola and FreeMono font specs for symbols and punctuation; do not replace the default spec for them. This should have better results when Symbola/FreeMono are not installed. (Bug#20727) --- lisp/international/fontset.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 8daa4b6ce7..696940e21c 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -733,9 +733,10 @@ (#x1F700 . #x1F77F) ;; Alchemical Symbols (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended (#x1F800 . #x1F8FF))) ;; Supplemental Arrows-C - (set-fontset-font "fontset-default" symbol-subgroup "Symbola")) + (set-fontset-font "fontset-default" symbol-subgroup "Symbola" nil 'prepend)) ;; Box Drawing and Block Elements - (set-fontset-font "fontset-default" '(#x2500 . #x259F) "FreeMono") + (set-fontset-font "fontset-default" '(#x2500 . #x259F) + "FreeMono" nil 'prepend) ;; Append CJK fonts for characters other than han, kana, cjk-misc. ;; Append fonts for scripts whose name is also a charset name. -- 2.39.2