49-sun-preuser.conf revision 943
749N/A<?xml version="1.0"?>
749N/A<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
749N/A<fontconfig>
749N/A<!--
749N/ACopyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
749N/A
749N/APermission is hereby granted, free of charge, to any person obtaining a
749N/Acopy of this software and associated documentation files (the "Software"),
749N/Ato deal in the Software without restriction, including without limitation
749N/Athe rights to use, copy, modify, merge, publish, distribute, sublicense,
749N/Aand/or sell copies of the Software, and to permit persons to whom the
749N/ASoftware is furnished to do so, subject to the following conditions:
749N/A
749N/AThe above copyright notice and this permission notice (including the next
749N/Aparagraph) shall be included in all copies or substantial portions of the
749N/ASoftware.
749N/A
749N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
749N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
749N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
749N/ATHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
749N/ALIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
749N/AFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
749N/ADEALINGS IN THE SOFTWARE.
749N/A-->
749N/A
749N/A <!-- We have enabled full and auto hinting -->
749N/A <match target="font" >
749N/A <edit mode="assign" name="hinting" >
749N/A <bool>true</bool>
749N/A </edit>
749N/A </match>
749N/A <match target="font" >
749N/A <edit mode="assign" name="hintstyle" >
749N/A <const>hintfull</const>
749N/A </edit>
749N/A </match>
749N/A <match target="font" >
749N/A <edit mode="assign" name="rgba" >
749N/A <const>none</const>
749N/A </edit>
749N/A </match>
749N/A
749N/A <!--
749N/A Hinting for CJK fonts doesn't yet work as well as for Latin fonts.
749N/A Some people may want to turn it off:
749N/A
749N/A <match target="font">
749N/A <test name="lang" compare="contains">
<string>zh</string>
<string>ko</string>
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
-->
<!--
Chinese fonts are too light. We want to darken them up.
darken_value is an int between 1 and 9 where 1 is a little
darker and 9 is very dark. The default is 6.
-->
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
<edit name="darken" mode="assign">
<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>