From 16d70d6feeb43c05a1279842e4156a0c3ad8bb92 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 3 May 2018 00:35:29 -0400 Subject: [PATCH] [emacs] further refine my Emacs' unicode font stack MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- init.org | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) 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 -- 2.20.1