'폰트'에 해당되는 글 1건
2009/10/13 17:13
우분투에서는 기본적으로 사용하는 폰트가 은돋음인가 그렇다. (나도 자세히 모르겠음) 근데 이 폰트가 맘에 안들어서 변경하고 싶다. 개인적으로는 맑은 고딕과 네이버와 다음에서 무료 배포 중인 폰트가 마음에 들어서 이 폰트로 변경하고 싶다.
네이버와 다음에서 배포하는 공개 폰트는 아래에서 다운 받을 수 있다.
나눔고딕 -> http://hangeul.naver.com/index.nhn
다음체 -> http://fontevent.daum.net/
맑은 고딕은 저작권이 걸린 폰트인지라 윈도우 비스타 이상이거나 MS Office 2007 이상 버전을 설치하면 맑은 고딕 폰트가 설치된다. C:\Windows\fonts 디렉토리에 맑은 고딕 폰트가 존재하는데 여기서 구할 수 있다.
이렇게 받은 폰트를 리눅스로 옮겨야 한다.
으로 복사해준 뒤에
명령을 통해서 폰트를 갱신해주면 적용된다. 혹은 로그아웃을 하게 되면 적용된다.
그러면 다음과 같이 폰트가 등록된다.
위의 화면 경로는 System -> Preference -> Appearance -> Fonts 로 설정하면 된다.
이렇게 하더라도 글씨가 흐릿흐릿하게 보이는 경우가 발생한다. autoalias나 autohint가 꺼져 있는 경우인데
이를 자동으로 잡을 수 있도록 설정해줘야 한다.
위의 그림처럼 false로 설정되어 있는 모든 부분을 찾아서 true로 변경해주고 재시작해주면 맑은 고딕이 깔끔하게 보이는 것을 확인할 수 있다.
네이버와 다음에서 배포하는 공개 폰트는 아래에서 다운 받을 수 있다.
나눔고딕 -> http://hangeul.naver.com/index.nhn
다음체 -> http://fontevent.daum.net/
맑은 고딕은 저작권이 걸린 폰트인지라 윈도우 비스타 이상이거나 MS Office 2007 이상 버전을 설치하면 맑은 고딕 폰트가 설치된다. C:\Windows\fonts 디렉토리에 맑은 고딕 폰트가 존재하는데 여기서 구할 수 있다.
이렇게 받은 폰트를 리눅스로 옮겨야 한다.
mv *.ttf *.TTF /usr/share/fonts/truetype
으로 복사해준 뒤에
fc-cache -t -c -v
명령을 통해서 폰트를 갱신해주면 적용된다. 혹은 로그아웃을 하게 되면 적용된다.
그러면 다음과 같이 폰트가 등록된다.
위의 화면 경로는 System -> Preference -> Appearance -> Fonts 로 설정하면 된다.
이렇게 하더라도 글씨가 흐릿흐릿하게 보이는 경우가 발생한다. autoalias나 autohint가 꺼져 있는 경우인데
이를 자동으로 잡을 수 있도록 설정해줘야 한다.
vi /etc/fonts/conf.d/29-language-selector-ko-kr.conf
<!-- 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 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>
위의 그림처럼 false로 설정되어 있는 모든 부분을 찾아서 true로 변경해주고 재시작해주면 맑은 고딕이 깔끔하게 보이는 것을 확인할 수 있다.



이올린에 북마크하기