메뉴 건너뛰기

infra

[.emacs] 윈도우에서 한글 폰트 설정

박영식2011.12.15 20:39조회 수 3038댓글 2

    • 글자 크기

(when window-system
   (set-face-font 'default "-outline-나눔고딕코딩-normal-normal-normal-mono-14-*-*-*-c-*-iso10646-1")
   (set-fontset-font "fontset-default" '(#x1100 . #xffdc)  '("나눔고딕코딩" . "unicode-bmp")) ;; 유니코드 한글영역
  ;(set-fontset-font "fontset-default" 'kana '("ms mincho" . "unicode-bmp"))
    (set-fontset-font "fontset-default" 'han '("ms mincho" . "unicode-bmp"))
   ;(set-fontset-font "fontset-default" 'cjk-misc '("ms mincho" . "unicode-bmp"))
   (set-fontset-font "fontset-default" '(#xe0bc . #xf66e)  '("new gulim" . "unicode-bmp")) ;; 유니코드 사용자 영역
 )

 (defadvice switch-to-buffer (after activate-input-method activate)
  (activate-input-method "korean-hangul"))
박영식 (비회원)
    • 글자 크기
[GData] python 으로 spreadsheet 에 추가 (by suritam9) [로그] 윈도우 이벤트 로그 (by 박영식)

댓글 달기

댓글 2
  • 이거 안먹는디유...

    error: Font not available, #<font-spec nil outline ³ª´®°íµñÄÚµù mono iso10646-1 normal normal normal 14 nil 110 nil ((:name . -outline-³ª´®°íµñÄÚµù-normal-normal-normal-mono-14-*-*-*-c-*-iso10646-1) (user-spec . -outline-³ª´®°íµñÄÚµù-normal-normal-normal-mono-14-*-*-*-c-*-iso10646-1))>

    To ensure normal operation, you should investigate and remove the
    cause of the error in your initialization file.  Start Emacs with
    the `--debug-init' option to view a complete error backtrace.

  • 나눔고딕코딩을...
    NanumGothicCoding으로 바꾸니 잘 되네용 감사!!! :)
박영식
2012.03.24 조회 2047
suritam9
2012.07.06 조회 3065
suritam9
2012.07.06 조회 2210
suritam9
2012.10.04 조회 2254
suritam9
2013.05.05 조회 3781
suritam9
2013.09.05 조회 3239
첨부 (0)
위로