Skip to content

Instantly share code, notes, and snippets.

@Pitometsu
Last active August 29, 2015 14:20
Show Gist options
  • Save Pitometsu/97d1e535c2d5051d5073 to your computer and use it in GitHub Desktop.
Save Pitometsu/97d1e535c2d5051d5073 to your computer and use it in GitHub Desktop.
Fontset configuration for EMACS
;; Faces
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:height 120 :family "Inconsolata LGC")))))
;; Use the predefined fontset and custom for cyrillic: пример кириллицы
(set-fontset-font t
'unicode
'("DejaVu Sans Mono" . "iso10646-1"))
(set-fontset-font t
'korean-ksc5601
'("Hascom" . "iso10646-1"))
(set-fontset-font t
'chinese-big5-1
'("Sazanami-Hanazono Mincho" . "iso10646-1"))
(set-fontset-font t
'chinese-big5-2
'("Sazanami-Hanazono Mincho" . "iso10646-1"))
(set-fontset-font t
'chinese-gb2312
'("Sazanami-Hanazono Mincho" . "iso10646-1"))
(set-fontset-font t
'japanese-jisx0208
'("MigMix 1M" . "iso10646-1"))
(set-fontset-font t
'japanese-jisx0212
'("MigMix 1M" . "iso10646-1"))
(set-fontset-font t
'mule-unicode-0100-24ff
(font-spec :inherit nil))
(set-fontset-font t
'cyrillic-iso8859-5
(font-spec :inherit nil))
(set-fontset-font t
'greek-iso8859-7
(font-spec :inherit nil))
(set-fontset-font t
'ascii
(font-spec :inherit nil))
(set-fontset-font t
'symbol
(font-spec :inherit nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment