Fix japanese fonts

This commit is contained in:
Alexander Rosenberg 2024-05-24 21:37:23 -07:00
parent 674aaf9039
commit e9b9804f04
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -113,9 +113,9 @@
;; Set fonts ;; Set fonts
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12")) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12"))
(set-fontset-font "fontset-default" (add-hook 'server-after-make-frame-hook
'japanese-jisx0208 (lambda ()
'("IPAGothic" . "iso10646-1")) (set-fontset-font t 'japanese-jisx0208 "IPAGothic")))
;; Enable color in compilation buffers ;; Enable color in compilation buffers
(add-hook 'compilation-filter-hook 'ansi-color-compilation-filter) (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)
@ -1433,7 +1433,6 @@ buffers `helpful--sym' to `my/helpful-symbol-history'."
:config :config
(add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)) (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter))
;; modeline (doom-modeline) ;; modeline (doom-modeline)
(use-package doom-modeline (use-package doom-modeline
:init :init