[ubuntu-ko] Set ttf-nanum as the default Korean font

Keechang Kim keechang.kim at gmail.com
Thu Jun 9 14:35:43 UTC 2011


69-language-selector-ko-kr.conf ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÇ°Ú±º¿ä. Áø±Ô´Ô ¾î¶°¼¼¿ä?

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!-- Set preferred Korean fonts -->
<match target="pattern">
<test name="lang" compare="contains">
                <string>ko</string>
        </test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend_first" binding="strong">
<string>NanumMyeongjo</string>
</edit>
</match>
<match target="pattern">
<test name="lang" compare="contains">
                <string>ko</string>
        </test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend_first" binding="strong">
<string>NanumGothic</string>
</edit>
</match>
<match target="pattern">
<test name="lang" compare="contains">
                <string>ko</string>
        </test>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumGothicCoding</string>
<string>NanumGothic</string>
</edit>
</match>
<!-- Turn on BCI (turn off autohint) for Nanum fonts. From
http://gerrit.chromium.org/gerrit/#change,1781 -->
<!-- Nanum font does not require autohinting. These instructions are better
given in the ttf-nanum package's config file. But until then, we give the
instructions here. -->
<match target="font">
        <test name="family" qual="any">
<string>NanumGothic</string>
<string>NanumMyeongjo</string>
<string>NanumGothicCoding</string>
</test>
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
</match>

</fontconfig>
-------------- next part --------------
HTML ÷ºÎ¸¦ ¾ø¾Ö¹ö·È½À´Ï´Ù...
URL: <https://lists.ubuntu.com/mailman/private/ubuntu-ko/attachments/20110609/d631eaed/attachment.html>