From: Amin Bandali Date: Thu, 3 May 2018 04:35:29 +0000 (-0400) Subject: [emacs] further refine my Emacs' unicode font stack X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/16d70d6feeb43c05a1279842e4156a0c3ad8bb92?ds=sidebyside [emacs] further refine my Emacs' unicode font stack Ditch Hack and Symbola monospacified. Ubuntu Mono and DejaVu Sans Mono are more than good enough. Also, force DejaVu Sans Mono for greek alphabet, since IMHO they look better than Ubuntu Mono's. For example, DejaVu's `α' looks much better and more distinguishable from `a' than Ubuntu Mono's. --- diff --git a/init.org b/init.org index a76ce5e..db1c2f4 100644 --- a/init.org +++ b/init.org @@ -349,17 +349,28 @@ Font stack with better unicode support, around =Ubuntu Mono= and (set-fontset-font ft 'unicode - (font-spec - :name "Hack") + (font-spec :name "DejaVu Sans Mono") nil 'append) + ;; (set-fontset-font + ;; ft + ;; 'unicode + ;; (font-spec + ;; :name "Symbola monospacified for DejaVu Sans Mono") + ;; nil + ;; 'append) + ;; (set-fontset-font + ;; ft + ;; #x2115 ; ℕ + ;; (font-spec :name "DejaVu Sans Mono") + ;; nil + ;; 'append) (set-fontset-font ft - 'unicode - (font-spec - :name "Symbola monospacified for DejaVu Sans Mono") + (cons ?Α ?ω) + (font-spec :name "DejaVu Sans Mono" :size 14) nil - 'append)) + 'prepend)) #+end_src * Core