Skip to content

Instantly share code, notes, and snippets.

@keedi
Created March 10, 2010 06:59
Show Gist options
  • Save keedi/327607 to your computer and use it in GitHub Desktop.
Save keedi/327607 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Turn on antialias and hinting with hintslight -->
<match target="font" >
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<!-- Turn off hinting for some Korean fonts -->
<match target="font">
<test name="family" compare="contains">
<string>백묵</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- 나눔 글꼴 매치 설정 -->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumMyeongjo</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumGothic</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Terminus</string>
</edit>
</match>
<!-- Terminus를 나눔고딕코딩으로 -->
<match target="pattern">
<test name="family">
<string>Terminus</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumGothic_Coding</string>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment