emacs: add mode-line family for non-freetype systems
parent
4e636b399d
commit
bf47f664cc
|
@ -36,12 +36,14 @@
|
|||
(copy-face 'default 'fixed-pitch)
|
||||
(copy-face 'default 'mode-line)
|
||||
|
||||
;; fontset usage
|
||||
(dolist (range '((#x2310 . #x26bf)
|
||||
(#x26c0 . #x329f)
|
||||
(#x1f000 . #x1fa9f)))
|
||||
(set-fontset-font t range "Noto Color Emoji"))
|
||||
(setq agw-mode-line-family
|
||||
(if (string-equal system-type "windows-nt")
|
||||
"Noto Mono"
|
||||
"tewi2a"))
|
||||
|
||||
(set-fontset-font t '(#x2e80 . #x9fff) "Noto Sans CJK JP")
|
||||
;; font alternatives
|
||||
(setq face-font-family-alternatives
|
||||
'(("Courier Prime Code" "Noto Mono")
|
||||
("Source Sans Pro" "Noto Sans" "Noto Sans CJK JP" "Noto Color Emoji")))
|
||||
|
||||
;; EOF
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
header-line
|
||||
header-line-highlight))
|
||||
(set-face-attribute face nil
|
||||
:family "tewi2a"
|
||||
:family agw-mode-line-family
|
||||
:height 90
|
||||
:weight 'normal
|
||||
:width 'normal))
|
||||
|
|
Loading…
Reference in New Issue