summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-ui.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 289b861..5daef2e 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -57,7 +57,12 @@
     (setq ns-use-native-fullscreen nil)
     (setq mac-allow-anti-aliasing t))
   (when (memq window-system '(x))
-    (set-frame-font "Source Code Pro-11")))
+    (set-frame-font "Source Code Pro-11")
+    ;; this is a fall back in the case we have unicode characeters.
+    ;; For example, with this settings, the following source is
+    ;; rendered correctly 😇 😀 and 🤢
+    (set-fontset-font "fontset-default" nil
+                      (font-spec :name "Noto Color Emoji"))))
 
 (use-package hl-line
   :hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode)