Linux/Tip2012. 10. 1. 07:09

<fontconfig>

<!-- Set preferred Korean fonts -->
    <match target="pattern">
        <test qual="any" name="family">
            <string>serif</string>
        </test>
        <edit name="family" mode="prepend" binding="strong">
            <string>UnShinmun</string>
            <string>은신문</string>
        </edit>
    </match>
    <match target="pattern">
        <test qual="any" name="family">
            <string>sans-serif</string>
        </test>
        <edit name="family" mode="prepend" binding="strong">
            <string>magun</string>
            <string>맑은고딕</string>
        </edit>
    </match>
    <match target="pattern">
        <test qual="any" name="family">
            <string>monospace</string>
        </test>
        <edit name="family" mode="prepend" binding="strong">
            <string>DejaVuSansMono</string>
        </edit>
    </match>


<!-- Bind EunGuseul Mono with Bitstream Vera Sans Mono -->
<match target="pattern">

    <test name="family">
        <string>DejaVuSansMono</string>
    </test>
    <edit mode="append" binding="strong" name="family">
        <string>naverdic</string>
        <string>네이버사전</string>
    </edit>
</match>

<!--
  은글꼴과 alee 글꼴에 대하여 안티앨리어스와 오토힌팅을 켭니다.
  원래는 이곳에 필요가 없었으나, 한글 글꼴의 영문 이름이 인식되지
  않게 되면서 아래와 같이 해 줘야 합니다.
-->
<!-- Turn on antialias and hinting with hintmedium for ttf-Unfonts -->
<match target="font">
    <test name="family" compare="contains">
        <string>은</string>
        <string>방울</string>
        <string>반달</string>
        <string>Un</string>
    <string>naver</string>
    <string>mal</string>
    </test>
    <edit name="antialias" mode="assign">
        <bool>true</bool>
    </edit>
    <edit name="hinting" mode="assign">
        <bool>true</bool>
    </edit>
    <edit name="hintsytle" mode="assign">
        <const>hintfull</const>
    </edit>
</match>


</fontconfig>

'Linux > Tip' 카테고리의 다른 글

Linux + Apache2 + Mysql + PHP/Perl/Python 환경을 설치  (0) 2012.10.01
linux 글꼴 설정 내용  (0) 2012.10.01
linux 글꼴 설치  (0) 2012.10.01
ubuntu : ko_KR.UTF-8을 ko_KR.EUC-KR로 바꾸는 방법  (0) 2012.10.01
Ubuntu MySQL utf-8 설정  (0) 2012.10.01
Posted by 쿨한넘