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