summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-13 06:46:35 +0000
committerjao <jao@gnu.org>2021-03-13 06:46:35 +0000
commit54527a3788fd94aa5aa848a13189bcea96f79f61 (patch)
tree04eb6880dff3bc2a7b8b5c4dc2001cd15ab655ee
parent310a6e9345c2785d4f0ef9754e5c2c923790363e (diff)
downloadelibs-54527a3788fd94aa5aa848a13189bcea96f79f61.tar.gz
elibs-54527a3788fd94aa5aa848a13189bcea96f79f61.tar.bz2
fontsets
-rw-r--r--init.org28
1 files changed, 14 insertions, 14 deletions
diff --git a/init.org b/init.org
index 26bf482..721053b 100644
--- a/init.org
+++ b/init.org
@@ -337,24 +337,24 @@
***** Unicode fonts
See [[https://emacs.stackexchange.com/questions/251/line-height-with-unicode-characters/5386#5386][fonts - Line height with unicode characters]] for a good
discussion.
- #+BEGIN_SRC emacs-lisp
+ #+begin_src emacs-lisp
(defun jao--set-fontsets (frame)
- ;; (set-fontset-font t 'unicode "Hack-9")
+ ;; (set-fontset-font t 64257 "Quivira")
+ ;; (set-fontset-font t 'egyptian "Noto Sans Egyptian Hieroglyphs")
+ ;; (set-fontset-font t 'hangul "NanumGothicCoding")
+ (set-fontset-font t 'unicode (face-attribute 'default :family))
+ (set-fontset-font t 'symbol "Symbola-10")
(set-fontset-font t 'greek "GFS Didot")
(set-fontset-font t 'mathematical "FreeSerif")
- (set-fontset-font t 64257 "Quivira")
- (set-fontset-font t 65039 nil)
- (set-fontset-font t '(9472 . 9599) "Symbola")
- (set-fontset-font t 'symbol "Symbola-12") ;; "Noto Sans Symbols-10"
- ;; (set-fontset-font t 'symbol "Unifont-12")
- (set-fontset-font t 'egyptian "Noto Sans Egyptian Hieroglyphs")
- (set-fontset-font t 'hangul "NanumGothicCoding"))
- (add-to-list 'after-make-frame-functions 'jao--set-fontsets)
-
- ;; (use-package unicode-fonts :ensure t)
- ;; (unicode-fonts-setup)
+ ;; boxes
+ (set-fontset-font t '(9472 . 9599) "Source Code Pro")
+ ;; variation selector-16
+ (set-fontset-font t 65039 "BabelStone Modern-1"))
- #+END_SRC
+ (setq use-default-font-for-symbols nil)
+ (jao--set-fontsets nil)
+ (add-to-list 'after-make-frame-functions 'jao--set-fontsets)
+ #+end_src
***** list-fonts-display
#+begin_src emacs-lisp
(defun list-fonts-display (&optional matching)