49-sun-preuser.conf revision 919
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
919N/Acopy of this software and associated documentation files (the "Software"),
919N/Ato deal in the Software without restriction, including without limitation
919N/Athe rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/Aand/or sell copies of the Software, and to permit persons to whom the
919N/ASoftware is furnished to do so, subject to the following conditions:
837N/A
919N/AThe above copyright notice and this permission notice (including the next
919N/Aparagraph) shall be included in all copies or substantial portions of the
919N/ASoftware.
837N/A
919N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/ATHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/ALIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/AFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/ADEALINGS IN THE SOFTWARE.
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>