diff options
| author | Eli Zaretskii | 2015-06-13 10:31:37 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-06-13 10:31:37 +0300 |
| commit | 2276a19d88b6c35ee5b82aa449641660dc674075 (patch) | |
| tree | 7c790e459ed320257df38f0683e37c54ad409a33 | |
| parent | 1fabab62f841c67037c3fb27697ce18177c3d4a9 (diff) | |
| download | emacs-2276a19d88b6c35ee5b82aa449641660dc674075.tar.gz emacs-2276a19d88b6c35ee5b82aa449641660dc674075.zip | |
Revert last change in fontset.el
* lisp/international/fontset.el (setup-default-fontset): Revert
the change "Configure Symbola font only if installed", since font
search is evidently not yet set up when this function is called.
(Bug#20727)
| -rw-r--r-- | lisp/international/fontset.el | 82 |
1 files changed, 40 insertions, 42 deletions
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index aa7a30eb29f..8daa4b6ce78 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -695,49 +695,47 @@ | |||
| 695 | 695 | ||
| 696 | ;; Special setup for various symbols and some rarely used characters | 696 | ;; Special setup for various symbols and some rarely used characters |
| 697 | ;; covered well by Symbola. | 697 | ;; covered well by Symbola. |
| 698 | (when (find-font (font-spec :name "Symbola")) | 698 | (dolist (symbol-subgroup |
| 699 | (dolist (symbol-subgroup | 699 | '((#x0250 . #x02AF) ;; IPA Extensions |
| 700 | '((#x0250 . #x02AF) ;; IPA Extensions | 700 | (#x2000 . #x206F) ;; General Punctuation |
| 701 | (#x2000 . #x206F) ;; General Punctuation | 701 | (#x2070 . #x209F) ;; Superscripts and Subscripts |
| 702 | (#x2070 . #x209F) ;; Superscripts and Subscripts | 702 | (#x20A0 . #x20CF) ;; Currency Symbols |
| 703 | (#x20A0 . #x20CF) ;; Currency Symbols | 703 | (#x2100 . #x214F) ;; Letterlike Symbols |
| 704 | (#x2100 . #x214F) ;; Letterlike Symbols | 704 | (#x2150 . #x218F) ;; Number Forms |
| 705 | (#x2150 . #x218F) ;; Number Forms | 705 | (#x2190 . #x21FF) ;; Arrows |
| 706 | (#x2190 . #x21FF) ;; Arrows | 706 | (#x2200 . #x22FF) ;; Mathematical Operators |
| 707 | (#x2200 . #x22FF) ;; Mathematical Operators | 707 | (#x2300 . #x23FF) ;; Miscellaneous Technical |
| 708 | (#x2300 . #x23FF) ;; Miscellaneous Technical | 708 | (#x2400 . #x243F) ;; Control Pictures |
| 709 | (#x2400 . #x243F) ;; Control Pictures | 709 | (#x2440 . #x245F) ;; Optical Char Recognition |
| 710 | (#x2440 . #x245F) ;; Optical Char Recognition | 710 | (#x2460 . #x24FF) ;; Enclosed Alphanumerics |
| 711 | (#x2460 . #x24FF) ;; Enclosed Alphanumerics | 711 | (#x25A0 . #x25FF) ;; Geometric Shapes |
| 712 | (#x25A0 . #x25FF) ;; Geometric Shapes | 712 | (#x2600 . #x26FF) ;; Miscellaneous Symbols |
| 713 | (#x2600 . #x26FF) ;; Miscellaneous Symbols | 713 | (#x2700 . #x27bF) ;; Dingbats |
| 714 | (#x2700 . #x27bF) ;; Dingbats | 714 | (#x27C0 . #x27EF) ;; Misc Mathematical Symbols-A |
| 715 | (#x27C0 . #x27EF) ;; Misc Mathematical Symbols-A | 715 | (#x27F0 . #x27FF) ;; Supplemental Arrows-A |
| 716 | (#x27F0 . #x27FF) ;; Supplemental Arrows-A | 716 | (#x2900 . #x297F) ;; Supplemental Arrows-B |
| 717 | (#x2900 . #x297F) ;; Supplemental Arrows-B | 717 | (#x2980 . #x29FF) ;; Misc Mathematical Symbols-B |
| 718 | (#x2980 . #x29FF) ;; Misc Mathematical Symbols-B | 718 | (#x2A00 . #x2AFF) ;; Suppl. Math Operators |
| 719 | (#x2A00 . #x2AFF) ;; Suppl. Math Operators | 719 | (#x2B00 . #x2BFF) ;; Misc Symbols and Arrows |
| 720 | (#x2B00 . #x2BFF) ;; Misc Symbols and Arrows | 720 | (#x2E00 . #x2E7F) ;; Supplemental Punctuation |
| 721 | (#x2E00 . #x2E7F) ;; Supplemental Punctuation | 721 | (#x4DC0 . #x4DFF) ;; Yijing Hexagram Symbols |
| 722 | (#x4DC0 . #x4DFF) ;; Yijing Hexagram Symbols | 722 | (#xFE10 . #xFE1F) ;; Vertical Forms |
| 723 | (#xFE10 . #xFE1F) ;; Vertical Forms | 723 | (#x10100 . #x1013F) ;; Aegean Numbers |
| 724 | (#x10100 . #x1013F) ;; Aegean Numbers | 724 | (#x102E0 . #x102FF) ;; Coptic Epact Numbers |
| 725 | (#x102E0 . #x102FF) ;; Coptic Epact Numbers | 725 | (#x1D000 . #x1D0FF) ;; Byzanthine Musical Symbols |
| 726 | (#x1D000 . #x1D0FF) ;; Byzanthine Musical Symbols | 726 | (#x1D200 . #x1D24F) ;; Ancient Greek Musical Notation |
| 727 | (#x1D200 . #x1D24F) ;; Ancient Greek Musical Notation | 727 | (#x1F0A0 . #x1F0FF) ;; Playing Cards |
| 728 | (#x1F0A0 . #x1F0FF) ;; Playing Cards | 728 | (#x1F100 . #x1F1FF) ;; Enclosed Alphanumeric Suppl |
| 729 | (#x1F100 . #x1F1FF) ;; Enclosed Alphanumeric Suppl | 729 | (#x1F300 . #x1F5FF) ;; Misc Symbols and Pictographs |
| 730 | (#x1F300 . #x1F5FF) ;; Misc Symbols and Pictographs | 730 | (#x1F600 . #x1F64F) ;; Emoticons |
| 731 | (#x1F600 . #x1F64F) ;; Emoticons | 731 | (#x1F650 . #x1F67F) ;; Ornamental Dingbats |
| 732 | (#x1F650 . #x1F67F) ;; Ornamental Dingbats | 732 | (#x1F680 . #x1F6FF) ;; Transport and Map Symbols |
| 733 | (#x1F680 . #x1F6FF) ;; Transport and Map Symbols | 733 | (#x1F700 . #x1F77F) ;; Alchemical Symbols |
| 734 | (#x1F700 . #x1F77F) ;; Alchemical Symbols | 734 | (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended |
| 735 | (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended | 735 | (#x1F800 . #x1F8FF))) ;; Supplemental Arrows-C |
| 736 | (#x1F800 . #x1F8FF))) ;; Supplemental Arrows-C | 736 | (set-fontset-font "fontset-default" symbol-subgroup "Symbola")) |
| 737 | (set-fontset-font "fontset-default" symbol-subgroup "Symbola"))) | ||
| 738 | ;; Box Drawing and Block Elements | 737 | ;; Box Drawing and Block Elements |
| 739 | (when (find-font (font-spec :name "FreeMono")) | 738 | (set-fontset-font "fontset-default" '(#x2500 . #x259F) "FreeMono") |
| 740 | (set-fontset-font "fontset-default" '(#x2500 . #x259F) "FreeMono")) | ||
| 741 | 739 | ||
| 742 | ;; Append CJK fonts for characters other than han, kana, cjk-misc. | 740 | ;; Append CJK fonts for characters other than han, kana, cjk-misc. |
| 743 | ;; Append fonts for scripts whose name is also a charset name. | 741 | ;; Append fonts for scripts whose name is also a charset name. |