자료출처 :  http://digitalab.pcu.ac.kr/?document_srl=2259
http://opensea.egloos.com/4352020

우분투 9.10 버전을 어렵게 어렵게 설치를 한 후, 어색한 폰트들 대신 익숙한 나눔폰트 계열로 수정하려고 하다가 이렇게 기록으로 남긴다. 다른 사람 블로그 찾아다니는 것이 귀찮은 게 가장 크다고 할까? ^^;;

# sudo nautilus

명령실행하여 root 권한을 가진 노틸러스를 실행시킨다.

# /usr/share/fonts/trutype 로 이동 하여 폴더를 생성한다. 생성된 폴더에 원하는 폰트들을 넣는다.

그런 후 터미널에서

# sudo -s
passwd 입력
# fc-cache -f -v


폰트 리스트 점검을 하는 과정이 완료되고 난 후에 우분투 폰트 리스트에 해당하는 폰트들이 추가가 되었음을 확인해볼 수 있다.

우분투에서는 안티앨리어싱을 끄도록 설정이 되어 있기 때문에, 새로 추가된 폰트들을 넣을 경우 계단지어지고 깨지는 어색한 모습을 볼 수 있다. 폰트와 관련된 안티앨리어싱을 끄도록 하자.

터미널에서 아래의 명령어를 실행한다.
# sudo gedit /etc/fonts/conf.d/29-language-selector-ko-kr.conf


열린 gedit 의 내용 중에서 아래 항목을 찾아 <match target~ 부분을 주석처리(<!-- -->로 막는다.
<!-- Turn off antialias and autohint for Korean fonts depending on pixelsize -->
<!-- <match target="font">
        <test name="lang" compare="contains">
                <string>ko</string>
        </test>
        <test name="pixelsize" compare="more">
        <int>10</int>
    </test>
        <test name="pixelsize" compare="less">
        <int>22</int>
    </test>
        <edit name="antialias" mode="assign">
        <bool>false</bool>
    </edit>
        <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
        <edit name="hintstyle" mode="assign">
        <const>hintmedium</const>
    </edit>
</match> -->


다음 항목 을 찾아 마찬가지로 주석처리한다.
<!-- Turn off antialias and autohint for ttf-alee depending on pixelsize -->
<!-- <match target="font">
        <test name="family">
                <string>Guseul</string>
        </test>
        <edit name="autohint" mode="assign">
        <bool>true</bool>
    </edit>
</match>
<match target="font">
        <test name="family">
                <string>Guseul</string>
                <string>Guseul Mono</string>
        </test>
    <test name="pixelsize" compare="more">
        <int>11</int>
    </test>
    <test name="pixelsize" compare="less">
        <int>16</int>
    </test>
    <edit name="antialias" mode="assign">
        <bool>false</bool>
    </edit>
        <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
</match> -->


※ 이 옵션은 저 파일을 삭제하는 것과 동일하므로, 차라리 저 파일을 삭제하는 것도 괜찮다.
Alt + F2 하신 다음,
gksu rm /etc/fonts/conf.d/29-language-selector-ko-kr.conf

저작자 표시

http://ihoney.pe.kr/trackback/635 관련글 쓰기

  1. 2009/11/02 02:27 [Edit/Del] [Reply]
    저도 넷북에 새로나온 9.10 넷북리믹스 설치했는데, 폰트 업데이트 한번 해야겠습니다.
  2. 스마일마스크
    2009/12/30 11:26 [Edit/Del] [Reply]
    gedit 으로 열을시에, 해당 29 어쩌고 파일이 블랭크로 뜨는데.... 혹시 그 파일을 어디서 받을수있는지 아시나요..?
    아니면 오직 룻계정으로만 보이는건지;;;
  3. 스마일마스크
    2009/12/30 11:28 [Edit/Del] [Reply]
    conf.avail폴더에서는 29 kr 파일을 찾을수 있지만, conf.d에는 없는듯하네요... Conf.avail폴더내의 파일을 수정시켜도 괜찮을까요?
    아니면 복사해서 conf.d폴더에 똑같은 파일 (conf.avail폴더에 잇던 파일도 수정하고.)을 옮길까요...
    • 2009/12/31 01:54 [Edit/Del]
      conf.avail 폴더에 있는 내용에 대해서는 ^^;; 제가 잘 모르는 부분이기는 하지만, 삭제하기 보다는 위의 내용에 있는 것처럼 주석처리를 해보기를 권해드립니다. 그리고 굳이 conf.d 폴더에다가 해당하는 파일을 넣을 필요는 없습니다.

      저도 혹시나 하고 conf.avail 폴더를 확인해보니 29 kor 관련한 파일이 존재를 하고, 삭제한 부분들(블로그에 남긴 내용들)은 주석처리가 되어 나타나는군요. ^^
  4. 난몰라
    2010/04/23 14:47 [Edit/Del] [Reply]
    감사요 ^^
  5. 콜키스
    2010/08/15 15:13 [Edit/Del] [Reply]
    저는 나눔고딕으로 바꾸었는데요, 추가로 안티앨리어싱까지ㅠㅠ.. 자세한 도움 고맙습니다. :D
    • 2010/08/16 20:46 [Edit/Del]
      ^^ 저는 우분투에서 사용하는 본트는 은진낙서를 사용하고 있습니다.
      한글도 괜찮고, 영어도 비교적 가독성이 괜찮아요. ^^

댓글을 남겨주세요

Name *

Password *

Link (Your Homepage or Blog)

Comment

Secret