summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2025-08-18 18:03:57 +0800
committerJSDurand <mmemmew@gmail.com>2025-08-18 18:03:57 +0800
commit1c034912af5f5364cf0e1473d85055ad9cee7119 (patch)
tree20cb94b937efab40bbe2a7f912b0f10b11ff7a0f
parent7dc4c91981d534f2d7e00d6c8a71d864c1bcb5f7 (diff)
basic: add font for cuneiform
* basic.el (default-frame-alist): It assumes the font is already installed on the system.
-rw-r--r--basic.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index 6e1d7fd..11a0170 100644
--- a/basic.el
+++ b/basic.el
@@ -168,6 +168,7 @@
(add-to-list 'default-frame-alist '(width . 118))
(add-to-list 'default-frame-alist '(height . 35))
(add-to-list 'default-frame-alist '(font . "Droid Sans Mono for Powerline-20"))
+;; (add-to-list 'default-frame-alist '(font . "NotoSansCuneiform-Regular-20"))
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
(add-to-list 'default-frame-alist '(ns-appearance . dark))
(add-to-list 'default-frame-alist '(fullscreen . maximized))
@@ -175,6 +176,19 @@
(setq revert-without-query '(".*"))
(set-face-attribute 'variable-pitch nil :family "Avenir" :height 1.0)
+;;; Font for Cuneiform
+
+;; NOTE: Remember to install the font on the computer system so that
+;; Emacs can access the font, and remember that the name of the font
+;; is not necessarily equal to the name of the font file.
+
+;; (set-fontset-font
+;; t
+;; 'cuneiform
+;; (font-spec
+;; :size 20
+;; :name "Noto Sans Cuneiform"))
+
;;; Adjust default size
;;;###autoload