알파벳 문자는 힌팅 스타일 slight에서 가장 또렷히 보이고 맑은 고딕도
예외가 아니다.
알파벳은 다른 폰트를 써서 slight로 처리하고 한글 폰트는 따로 medium으로
처리하자.
사용 폰트: 맑은 고딕, 네이버사전체, 고정폭 굴림체(gulimche.ttf) 등
<?xml version="1.0"?>
<fontconfig>
<!-- 폰트 매칭 -->
<match target="pattern" >
<test name="family" qual="any" >
<string>serif</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>DejaVu Serif</string>
<string>Malgun Gothic</string>
<string>Naver Dictionary</string>
</edit>
</match>
<match target="pattern" >
<test name="family" qual="any" >
<string>sans-serif</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>DejaVu Sans</string>
<string>Malgun Gothic</string>
<string>Naver Dictionary</string>
</edit>
</match>
<match target="pattern" >
<test name="family" qual="any" >
<string>monospace</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>DejaVu Sans Mono</string>
<string>GulimChe</string>
</edit>
</match>
<!-- 안티 앨리어스 ON -->
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<!-- DPI -->
<match target="pattern">
<edit name="dpi" mode="assign">
<double>96</double>
</edit>
</match>
<!-- 힌팅 ON -->
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<!-- 자동 힌트 OFF -->
<match target="font" >
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
<!-- 힌팅 스타일 -->
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<!-- 맑은 고딕은 힌팅 스타일 따로 -->
<match target="font" >
<test name="family" >
<string>Malgun Gothic</string>
<string>맑은 고딕</string>
</test>
<edit mode="assign" name="hintstyle" >
<const>hintmedium</const>
</edit>
</match>
<!-- RGB -->
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<!-- LCD Filter -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- 고정폭 굴림체의 내장 비트맵 ON -->
<match target="font" >
<test name="family" >
<string>GulimChe</string>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
참고 : http://www.freedesktop.org/wiki/ScreenFontSettings