remove font set of emacs to make compat more platform like Android

This commit is contained in:
zedhugh committed 2025-06-10 00:43:08 +08:00
1 parent 2a7e41108b
commit b74aa1b1ff
1 file changed
-6
-6
View File
@@ -7,12 +7,6 @@
;; Initialize frame with alpha ;; Initialize frame with alpha
(add-to-list 'default-frame-alist '(alpha-background . 85)) (add-to-list 'default-frame-alist '(alpha-background . 85))
(add-to-list 'default-frame-alist '(fullscreen . maximized)) (add-to-list 'default-frame-alist '(fullscreen . maximized))
(add-to-list 'default-frame-alist
(cons 'font (if (eq system-type 'windows-nt)
(if (> (frame-pixel-width) 2560)
"等距更纱黑体 SC-16"
"等距更纱黑体 SC-12")
"Sarasa Mono SC-12")))
(when (fboundp 'menu-bar-mode) (when (fboundp 'menu-bar-mode)
(menu-bar-mode -1)) (menu-bar-mode -1))