▲alstjr7375 2022-05-30 | parent | favorite | on: Ask GN: 코딩할 때 어떤 폰트를 사용하시나요?Hack에 D2Coding(한글용) 섞어씁니다. 설정은 이래요. ;; ;;; straight is nill' macro ;; ;;;###autoload (defmacro use-feature (name &rest args) "Like use-package', but with straight-use-package-by-default' disabled." (declare (indent defun)) (use-package ,name :straight nil ,@args)) (use-feature emacs :custom (face-font-rescale-alist '((".D2Coding." . 1.26))) :init (add-to-list 'default-frame-alist '(font . "Hack Nerd Font")) (set-face-attribute 'default nil :height 120 :family "Hack Nerd Font") ;; This will early init (set-fontset-font "fontset-default" '(#x1100 . #xffdc) '("D2Coding" . "iso10646-1")) (set-fontset-font "fontset-default" '(#xe0bc . #xf66e) '("D2Coding" . "iso10646-1"))) ▲kunggom 2022-05-30 [-]히익 Emacs! 잘 보니까 그냥 Hack 폰트가 아니라 Hack Nerd 폰트인 모양이군요. 답변달기▲alstjr7375 2022-05-30 [-]앗 맞아요 답변달기
Hack에 D2Coding(한글용) 섞어씁니다.
설정은 이래요.
;;
;;; straight is
nill' macro ;; ;;;###autoload (defmacro use-feature (name &rest args) "Like
use-package', but withstraight-use-package-by-default' disabled." (declare (indent defun))
(use-package ,name:straight nil
,@args))
(use-feature emacs
:custom
(face-font-rescale-alist '((".D2Coding." . 1.26)))
:init
(add-to-list 'default-frame-alist '(font . "Hack Nerd Font"))
(set-face-attribute 'default nil
:height 120
:family "Hack Nerd Font") ;; This will early init
(set-fontset-font "fontset-default" '(#x1100 . #xffdc)
'("D2Coding" . "iso10646-1"))
(set-fontset-font "fontset-default" '(#xe0bc . #xf66e)
'("D2Coding" . "iso10646-1")))