diff options
author | marha <marha@users.sourceforge.net> | 2012-06-22 08:30:33 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-22 08:30:33 +0200 |
commit | e1a407256a5c1571d8f4871fd981a51cfbd46e37 (patch) | |
tree | 9f8327deb05890b77137d57c0416d392beaa7fac /fontconfig/doc/fontconfig-user.sgml | |
parent | da6ea6d64418710cbf7e0639dfefd2d856d53f1a (diff) | |
download | vcxsrv-e1a407256a5c1571d8f4871fd981a51cfbd46e37.tar.gz vcxsrv-e1a407256a5c1571d8f4871fd981a51cfbd46e37.tar.bz2 vcxsrv-e1a407256a5c1571d8f4871fd981a51cfbd46e37.zip |
mesa xserver libxcb fontconfig
Diffstat (limited to 'fontconfig/doc/fontconfig-user.sgml')
-rw-r--r-- | fontconfig/doc/fontconfig-user.sgml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/fontconfig/doc/fontconfig-user.sgml b/fontconfig/doc/fontconfig-user.sgml index 92d0db8bf..f7632ea67 100644 --- a/fontconfig/doc/fontconfig-user.sgml +++ b/fontconfig/doc/fontconfig-user.sgml @@ -677,6 +677,41 @@ $XDG_CONFIG_HOME/fontconfig/fonts.conf <match target="font"> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> +<!-- + use WenQuanYi Zen Hei font when serif is requested for Chinese +--> +<match> + <!-- + If you don't want to use WenQuanYi Zen Hei font for zh-tw etc, + you can use zh-cn instead of zh. + Please note, even if you set zh-cn, it still matches zh. + if you don't like it, you can use compare="eq" + instead of compare="contains". + --> + <test name="lang" compare="contains"> + <string>zh</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>WenQuanYi Zen Hei</string> + </edit> +</match> +<!-- + use VL Gothic font when sans-serif is requested for Japanese +--> +<match> + <test name="lang" compare="contains"> + <string>ja</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>VL Gothic</string> + </edit> +</match> </fontconfig> </programlisting> </refsect2> |