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