49-sun-preuser.conf revision 837
1003N/A<?xml version="1.0"?>
1003N/A<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
1130N/A<fontconfig>
1003N/A<!--
1003N/ACopyright 2009 Sun Microsystems, Inc. All rights reserved.
1003N/AUse is subject to license terms.
1003N/A
1003N/APermission is hereby granted, free of charge, to any person obtaining a
1003N/Acopy of this software and associated documentation files (the
1003N/A"Software"), to deal in the Software without restriction, including
1003N/Awithout limitation the rights to use, copy, modify, merge, publish,
1003N/Adistribute, and/or sell copies of the Software, and to permit persons
1003N/Ato whom the Software is furnished to do so, provided that the above
1003N/Acopyright notice(s) and this permission notice appear in all copies of
1003N/Athe Software and that both the above copyright notice(s) and this
1003N/Apermission notice appear in supporting documentation.
1003N/A
1003N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1003N/AOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1003N/AMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1003N/AOF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1003N/AHOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
1003N/AINDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
1003N/AFROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
1003N/ANEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
1003N/AWITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1003N/A
1003N/AExcept as contained in this notice, the name of a copyright holder
1003N/Ashall not be used in advertising or otherwise to promote the sale, use
1003N/Aor other dealings in this Software without prior written authorization
1003N/Aof the copyright holder.
1003N/A -->
1003N/A <!--
1050N/A Hinting for CJK fonts doesn't yet work as well as for Latin fonts.
1003N/A Some people may want to turn it off:
1003N/A
1003N/A <match target="font">
1003N/A <test name="lang" compare="contains">
1003N/A <string>zh</string>
1003N/A <string>ko</string>
1003N/A <string>ja</string>
1003N/A </test>
1003N/A <edit name="hinting" mode="assign">
1003N/A <bool>false</bool>
1003N/A </edit>
1003N/A </match>
1003N/A -->
1003N/A
1003N/A
1003N/A <!--
1003N/A Chinese fonts are too light. We want to darken them up.
1003N/A darken_value is an int between 1 and 9 where 1 is a little
1003N/A darker and 9 is very dark. The default is 6.
1003N/A -->
1003N/A
1003N/A <match target="font">
1003N/A <test name="lang" compare="contains">
1003N/A <string>zh</string>
1130N/A </test>
1130N/A <edit name="darken" mode="assign">
1130N/A <bool>true</bool>
</edit>
<edit name="darken_value" mode="assign">
<int>6</int>
</edit>
</match>
<!--
To avoid using embedded bitmaps in TrueType fonts
put the following rule in your personal ~/.fonts.conf file:
<match target="pattern">
<edit name="prefer_bitmap">
<bool>false</bool>
</edit>
</match>
-->
<match target="pattern">
<edit name="prefer_bitmap">
<bool>true</bool>
</edit>
</match>
<match target="font">
<!-- check to see if the font is roman -->
<test name="slant">
<const>roman</const>
</test>
<!-- check to see if the pattern requested non-roman -->
<test target="pattern" name="slant" compare="not_eq">
<const>roman</const>
</test>
<edit name="prefer_bitmap">
<bool>false</bool>
</edit>
</match>
<!-- Latin fonts should not be used for ASCII characters when using
Japanese monospace families -->
<match target="pattern">
<test name="family">
<string>monospace</string>
</test>
<test name="lang" compare="eq">
<string>ja-jp</string>
</test>
<edit name="disable_pango_script">
<bool>true</bool>
</edit>
</match>
</fontconfig>