summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-05-03 00:35:29 -0400
committerAmin Bandali <amin@aminb.org>2018-05-03 00:35:29 -0400
commit16d70d6feeb43c05a1279842e4156a0c3ad8bb92 (patch)
treebf22549d9c16d01a56de79c1f7e6adb42d74944d
parent3d35bdffd1f9a7c04f3832584ecb278701dae556 (diff)
downloadconfigs-16d70d6feeb43c05a1279842e4156a0c3ad8bb92.tar.gz
configs-16d70d6feeb43c05a1279842e4156a0c3ad8bb92.tar.xz
configs-16d70d6feeb43c05a1279842e4156a0c3ad8bb92.zip
[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.
Diffstat (limited to '')
-rw-r--r--init.org23
1 files 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