Skip to content

Instantly share code, notes, and snippets.

@ingramchen
Last active April 25, 2016 15:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ingramchen/21533bbfc0d2dead94a7 to your computer and use it in GitHub Desktop.
Save ingramchen/21533bbfc0d2dead94a7 to your computer and use it in GitHub Desktop.
思源 ubuntu CJK fonconfig 設定檔
<fontconfig>
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans T Chinese</string>
<string>Noto Sans S Chinese</string>
<string>Noto Sans Japanese</string>
<string>Noto Sans Korean</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans T Chinese</string>
<string>Noto Sans S Chinese</string>
<string>Noto Sans Japanese</string>
<string>Noto Sans Korean</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans T Chinese</string>
<string>Noto Sans S Chinese</string>
<string>Noto Sans Japanese</string>
<string>Noto Sans Korean</string>
</edit>
</match>
</fontconfig>
@immartian
Copy link

I found this conf leads to unity can't load, what's the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment