diff --git a/core/core-defuns.el b/core/core-defuns.el index 9b9d8933c..e7ec16ef7 100644 --- a/core/core-defuns.el +++ b/core/core-defuns.el @@ -332,8 +332,8 @@ Examples: e.g. (doom-fix-unicode \"DejaVu Sans\" '(?⚠ ?★ ?λ ?➊ ?➋ ?➌ ?➍ ?➎ ?❻ ?➐ ?➑ ?➒ ?➓))" (mapc (lambda (x) (set-fontset-font - "fontset-default" `(,x . ,x) - (font-spec :name font :size size) nil 'prepend)) + t (cons x x) + (font-spec :name font :size size))) chars)) (defun doom-byte-compile (&optional minimal) diff --git a/core/core-flycheck.el b/core/core-flycheck.el index 4dbf350c7..01ee60a0f 100644 --- a/core/core-flycheck.el +++ b/core/core-flycheck.el @@ -9,6 +9,8 @@ flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make)) :config + ;; Display warning symbol unicode better + (doom-fix-unicode "DejaVu Sans Mono" '(?⚠) 18) (def-popup! " ?\\*Flycheck.+\\*" :align below :size 14 :noselect t :regexp t) (unless (> emacs-major-version 24) diff --git a/core/core-ui.el b/core/core-ui.el index 76ad80f23..e2b0c8ee5 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -66,7 +66,8 @@ (set-fringe-bitmap-face 'tilde 'fringe) (setcdr (assq 'empty-line fringe-indicator-alist) 'tilde) ;; Fix certain unicode characters without upsetting line-height - (doom-fix-unicode "DejaVu Sans" '(?⚠ ?★ ?λ ?➊ ?➋ ?➌ ?➍ ?➎ ?❻ ?➐ ?➑ ?➒ ?➓))) + (doom-fix-unicode "DejaVu Sans Mono" '(?★) 13) + (doom-fix-unicode "Hack" '(?λ) 13)) ;; Hide mode-line in help/compile window (add-hook 'help-mode-hook 'doom|hide-mode-line) diff --git a/modules/module-org.el b/modules/module-org.el index 16404c571..30c70ee5a 100644 --- a/modules/module-org.el +++ b/modules/module-org.el @@ -151,6 +151,8 @@ ;; "** %i%?\n") )) + ;; Display certain unicode characters properly + (doom-fix-unicode "DejaVu Sans" '(?⟳) 13) (doom-fix-unicode "DejaVu Sans" '(?♭ ?♯)) (doom-fix-unicode "Hack" '(?× ?∙ ?÷ ?⌉ ?⌈ ?⌊ ?⌋ ?∩ ?∪ ?⊆ ?⊂ ?⊄ ?⊇ ?⊃ ?⊅