허니몬의 IT 이야기/리눅스 이야기, 우분투
자료출처 :  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