aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-06-13 14:51:33 +0300
committerEli Zaretskii2015-06-13 14:51:33 +0300
commiteb92f89c2125aaf8fdf93cdd85ab46ae278dd950 (patch)
tree85117335739097e317fa84c0990fe574df17da74
parentf75d189ed87d4a5bcad5eb1b9c54382e6b7802dc (diff)
downloademacs-eb92f89c2125aaf8fdf93cdd85ab46ae278dd950.tar.gz
emacs-eb92f89c2125aaf8fdf93cdd85ab46ae278dd950.zip
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)
-rw-r--r--lisp/international/fontset.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 8daa4b6ce78..696940e21c8 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -733,9 +733,10 @@
733 (#x1F700 . #x1F77F) ;; Alchemical Symbols 733 (#x1F700 . #x1F77F) ;; Alchemical Symbols
734 (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended 734 (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended
735 (#x1F800 . #x1F8FF))) ;; Supplemental Arrows-C 735 (#x1F800 . #x1F8FF))) ;; Supplemental Arrows-C
736 (set-fontset-font "fontset-default" symbol-subgroup "Symbola")) 736 (set-fontset-font "fontset-default" symbol-subgroup "Symbola" nil 'prepend))
737 ;; Box Drawing and Block Elements 737 ;; Box Drawing and Block Elements
738 (set-fontset-font "fontset-default" '(#x2500 . #x259F) "FreeMono") 738 (set-fontset-font "fontset-default" '(#x2500 . #x259F)
739 "FreeMono" nil 'prepend)
739 740
740 ;; Append CJK fonts for characters other than han, kana, cjk-misc. 741 ;; Append CJK fonts for characters other than han, kana, cjk-misc.
741 ;; Append fonts for scripts whose name is also a charset name. 742 ;; Append fonts for scripts whose name is also a charset name.