Skip to content

Instantly share code, notes, and snippets.

@VincentTam
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VincentTam/5fe406cf6bfcd6a6179b to your computer and use it in GitHub Desktop.
Save VincentTam/5fe406cf6bfcd6a6179b to your computer and use it in GitHub Desktop.
Part of my default /etc/fonts/conf.avail/69-language-selector-zh-hk.conf on Ubuntu 14.04. It caused display problem for monospaced fonts. For details, refer to https://vincenttam,github.io/blog/2014/08/17/ubuntu-14-dot-04-monospaced-font-family/
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<test name="lang">
<string>zh-hk</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Droid Sans</string>
<string>AR PL UMing HK</string>
<string>AR PL New Sung</string>
<string>HYSong</string>
<string>AR PL UKai HK</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment