home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110725.etc.tar.gz / bradford.20110725.etc.tar / etc / fonts / fonts.conf next >
Extensible Markup Language  |  2006-06-09  |  14KB  |  484 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <!-- /etc/fonts/fonts.conf file to configure system font access -->
  4. <fontconfig>
  5.  
  6. <!--
  7.     DO NOT EDIT THIS FILE.
  8.     IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
  9.     LOCAL CHANGES BELONG IN 'local.conf'.
  10.  
  11.     The intent of this standard configuration file is to be adequate for
  12.     most environments.  If you have a reasonably normal environment and
  13.     have found problems with this configuration, they are probably
  14.     things that others will also want fixed.  Please submit any
  15.     problems to the fontconfig bugzilla system located at fontconfig.org
  16.  
  17.     Note that the normal 'make install' procedure for fontconfig is to
  18.     replace any existing fonts.conf file with the new version.  Place
  19.     any local customizations in local.conf which this file references.
  20.  
  21.     Keith Packard
  22. -->
  23.  
  24. <!-- Font directory list -->
  25.  
  26.     <dir>/usr/share/fonts</dir>
  27.     <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/opt/kde3/share/fonts</dir> <dir>/usr/local/share/fonts</dir>
  28.     <dir>~/.fonts</dir>
  29.     <dir>~/.fonts/kde-override</dir>
  30.  
  31.     <include ignore_missing="yes">suse-font-dirs.conf</include>
  32.  
  33. <!--
  34.   Accept deprecated 'mono' alias, replacing it with 'monospace'
  35. -->
  36.     <match target="pattern">
  37.         <test qual="any" name="family">
  38.             <string>mono</string>
  39.         </test>
  40.         <edit name="family" mode="assign">
  41.             <string>monospace</string>
  42.         </edit>
  43.     </match>
  44.  
  45. <!--
  46.   Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
  47. -->
  48.     <match target="pattern">
  49.         <test qual="any" name="family">
  50.             <string>sans serif</string>
  51.         </test>
  52.         <edit name="family" mode="assign">
  53.             <string>sans-serif</string>
  54.         </edit>
  55.     </match>
  56.  
  57. <!--
  58.   Accept deprecated 'sans' alias, replacing it with 'sans-serif'
  59. -->
  60.     <match target="pattern">
  61.         <test qual="any" name="family">
  62.             <string>sans</string>
  63.         </test>
  64.         <edit name="family" mode="assign">
  65.             <string>sans-serif</string>
  66.         </edit>
  67.     </match>
  68.  
  69. <!--
  70.   Mark common families with their generics so we'll get
  71.   something reasonable
  72. -->
  73.  
  74.     <include ignore_missing="yes">suse-generic-names.conf</include>
  75.  
  76. <!--
  77.   Serif faces
  78.  -->
  79.     <alias>
  80.         <family>Bitstream Vera Serif</family>
  81.         <family>Times New Roman</family>
  82.         <family>Thorndale AMT</family>
  83.         <family>Times</family>
  84.         <family>Nimbus Roman No9 L</family>
  85.         <family>Luxi Serif</family>
  86.         <family>Kochi Mincho</family>
  87.         <family>AR PL SungtiL GB</family>
  88.         <family>AR PL Mingti2L Big5</family>
  89.         <family>∩╝¡∩╝│ µÿĵ£¥</family>
  90.          <family>SimSun</family>
  91.         <family>Baekmuk Batang</family>
  92.         <family>FreeSerif</family>
  93.         <family>MgOpen Canonica</family>
  94.         <default><family>serif</family></default>
  95.     </alias>
  96. <!--
  97.   Sans-serif faces
  98.  -->
  99.     <alias>
  100.         <family>Bitstream Vera Sans</family>
  101.         <family>Helvetica</family>
  102.         <family>Arial</family>
  103.         <family>Verdana</family>
  104.         <family>Albany AMT</family>
  105.         <family>Nimbus Sans L</family>
  106.         <family>Luxi Sans</family>
  107.         <family>Kochi Gothic</family>
  108.         <family>AR PL KaitiM GB</family>
  109.         <family>AR PL KaitiM Big5</family>
  110.         <family>∩╝¡∩╝│ πé┤πé╖πââπé»</family>
  111.         <family>Baekmuk Dotum</family>
  112.         <family>FreeSans</family>
  113.         <family>MgOpen Modata</family>
  114.         <default><family>sans-serif</family></default>
  115.     </alias>
  116. <!--
  117.   Monospace faces
  118.  -->
  119.      <alias>
  120.         <family>Bitstream Vera Sans Mono</family>
  121.         <family>Courier</family>
  122.         <family>Courier New</family>
  123.         <family>Andale Mono</family>
  124.         <family>Luxi Mono</family>
  125.         <family>Cumberland AMT</family>
  126.         <family>Nimbus Mono L</family>
  127.         <family>NSimSun</family>
  128.         <family>FreeMono</family>
  129.         <default><family>monospace</family></default>
  130.     </alias>
  131. <!--
  132.   If the font still has no generic name, add sans-serif
  133.  -->
  134.     <match target="pattern">
  135.         <test qual="all" name="family" compare="not_eq">
  136.             <string>sans-serif</string>
  137.         </test>
  138.         <test qual="all" name="family" compare="not_eq">
  139.             <string>serif</string>
  140.         </test>
  141.         <test qual="all" name="family" compare="not_eq">
  142.             <string>monospace</string>
  143.         </test>
  144.         <edit name="family" mode="append_last">
  145.             <string>sans-serif</string>
  146.         </edit>
  147.     </match>
  148.  
  149. <!--
  150.   URW provides metric and shape compatible fonts for these 3 Adobe families.
  151.   -->
  152.         <alias>
  153.       <family>Times</family>
  154.       <accept><family>Nimbus Roman No9 L</family></accept>
  155.     </alias>
  156.         <alias>
  157.       <family>Helvetica</family>
  158.       <accept><family>Nimbus Sans L</family></accept>
  159.     </alias>
  160.         <alias>
  161.       <family>Courier</family>
  162.       <accept><family>Nimbus Mono L</family></accept>
  163.     </alias>
  164.  
  165. <!--
  166.  AMT provides metric and shape compatible fonts for these three web font
  167.  families.
  168.  -->
  169.      <alias>
  170.         <family>Times New Roman</family>
  171.         <accept><family>Thorndale AMT</family></accept>
  172.     </alias>
  173.      <alias>
  174.         <family>Arial</family>
  175.         <accept><family>Albany AMT</family></accept>
  176.     </alias>
  177.      <alias>
  178.         <family>Courier New</family>
  179.         <accept><family>Cumberland AMT</family></accept>
  180.     </alias>
  181.  
  182. <!--
  183.   Some Asian fonts misadvertise themselves as monospaced when
  184.   in fact they are dual-spaced (half and full).  This makes
  185.   FreeType very confused as it forces all widths to match.
  186.   Undo this magic by disabling the width forcing code -->
  187.     <match target="font">
  188.         <test name="family"><string>GulimChe</string></test>
  189.         <edit name="globaladvance"><bool>false</bool></edit>
  190.     </match>
  191.  
  192.     <match target="font">
  193.         <test name="family"><string>DotumChe</string></test>
  194.         <edit name="globaladvance"><bool>false</bool></edit>
  195.     </match>
  196.  
  197.     <match target="font">
  198.         <test name="family"><string>BatangChe</string></test>
  199.         <edit name="globaladvance"><bool>false</bool></edit>
  200.     </match>
  201.  
  202.     <match target="font">
  203.         <test name="family"><string>GungsuhChe</string></test>
  204.         <edit name="globaladvance"><bool>false</bool></edit>
  205.     </match>
  206.  
  207. <!-- 
  208.     The Bitstream Vera fonts have GASP entries suggesting that hinting be
  209.     disabled below 8 ppem, but FreeType ignores those, preferring to use
  210.     the data found in the instructed hints.  The initial Vera release
  211.     didn't include the right instructions in the 'prep' table. Fix this
  212.     by disabling hinting manually at smaller sizes (< 8ppem)
  213.  -->
  214.  
  215.     <match target="font">
  216.         <test name="family">
  217.             <string>Bitstream Vera Sans</string>
  218.         </test>
  219.         <test name="pixelsize" compare="less">
  220.             <double>7.5</double>
  221.         </test>
  222.         <edit name="hinting">
  223.             <bool>false</bool>
  224.         </edit>
  225.     </match>
  226.  
  227.     <match target="font">
  228.         <test name="family">
  229.             <string>Bitstream Vera Serif</string>
  230.         </test>
  231.         <test name="pixelsize" compare="less">
  232.             <double>7.5</double>
  233.         </test>
  234.         <edit name="hinting">
  235.             <bool>false</bool>
  236.         </edit>
  237.     </match>
  238.  
  239.     <match target="font">
  240.         <test name="family">
  241.             <string>Bitstream Vera Sans Mono</string>
  242.         </test>
  243.         <test name="pixelsize" compare="less">
  244.             <double>7.5</double>
  245.         </test>
  246.         <edit name="hinting">
  247.             <bool>false</bool>
  248.         </edit>
  249.     </match>
  250.  
  251. <!--
  252.   Load pre-user SuSE specific customizations:
  253. --> 
  254.  
  255.     <include ignore_missing="yes">suse-pre-user.conf</include>
  256.  
  257. <!--
  258.   Load per-user customization file
  259. -->
  260.     <include ignore_missing="yes">~/.fonts.conf</include>
  261.  
  262. <!--
  263.   Load post-user SuSE specific customizations:
  264. --> 
  265.  
  266.     <include ignore_missing="yes">suse-post-user.conf</include>
  267.  
  268. <!--
  269.   Load local system customization file
  270. -->
  271.     <include ignore_missing="yes">conf.d</include>
  272.     <include ignore_missing="yes">local.conf</include>
  273.  
  274. <!--
  275.   Provide required aliases for standard names
  276. -->
  277.     <alias>
  278.         <family>serif</family>
  279.         <prefer>
  280.             <family>Bitstream Vera Serif</family>
  281.             <family>Times New Roman</family>
  282.             <family>Thorndale AMT</family>
  283.             <family>Luxi Serif</family>
  284.             <family>Nimbus Roman No9 L</family>
  285.             <family>Times</family>
  286.             <family>Frank Ruehl</family>
  287.             <family>MgOpen Canonica</family>
  288.             <family>FreeSerif</family>
  289.             <family>Kochi Mincho</family>
  290.             <family>AR PL SungtiL GB</family>
  291.             <family>SimSun</family>
  292.             <family>AR PL Mingti2L Big5</family>
  293.             <family>∩╝¡∩╝│ µÿĵ£¥</family>
  294.             <family>Baekmuk Batang</family>
  295.         </prefer>
  296.     </alias>
  297.     <alias>
  298.         <family>sans-serif</family>
  299.         <prefer>
  300.             <family>Bitstream Vera Sans</family>
  301.             <family>Verdana</family>
  302.             <family>Arial</family>
  303.             <family>Albany AMT</family>
  304.             <family>Luxi Sans</family>
  305.             <family>Nimbus Sans L</family>
  306.             <family>Helvetica</family>
  307.             <family>Nachlieli</family>
  308.             <family>MgOpen Modata</family>
  309.             <family>FreeSans</family>
  310.             <family>Kochi Gothic</family>
  311.             <family>AR PL KaitiM GB</family>
  312.             <family>AR PL KaitiM Big5</family>
  313.             <family>∩╝¡∩╝│ πé┤πé╖πââπé»</family>
  314.             <family>Baekmuk Dotum</family>
  315.         </prefer>
  316.     </alias>
  317.     <alias>
  318.         <family>monospace</family>
  319.         <prefer>
  320.             <family>Bitstream Vera Sans Mono</family>
  321.             <family>Andale Mono</family>
  322.             <family>Courier New</family>
  323.             <family>Cumberland AMT</family>
  324.             <family>Luxi Mono</family>
  325.             <family>Nimbus Mono L</family>
  326.             <family>Courier</family>
  327.             <family>Miriam Mono</family>
  328.             <family>FreeMono</family>
  329.             <family>Kochi Gothic</family>
  330.             <family>AR PL SungtiL GB</family>
  331.             <family>AR PL Mingti2L Big5</family>
  332.             <family>Baekmuk Dotum</family>
  333.         </prefer>
  334.     </alias>
  335.  
  336. <!-- 
  337.  Artificial oblique for fonts without an italic or oblique version
  338.  -->
  339.  
  340.     <match target="font">
  341.         <!-- check to see if the font is roman -->
  342.         <test name="slant">
  343.             <const>roman</const>
  344.         </test>
  345.         <!-- check to see if the pattern requested non-roman -->
  346.         <test target="pattern" name="slant" compare="not_eq">
  347.             <const>roman</const>
  348.         </test>
  349.         <!-- multiply the matrix to slant the font -->
  350.         <edit name="matrix" mode="assign">
  351.             <times>
  352.                 <name>matrix</name>
  353.                 <matrix><double>1</double><double>0.2</double>
  354.                     <double>0</double><double>1</double>
  355.                 </matrix>
  356.             </times>
  357.         </edit>
  358.         <!-- pretend the font is oblique now -->
  359.         <edit name="slant" mode="assign">
  360.             <const>oblique</const>
  361.         </edit>
  362.                 <!-- and disable embedded bitmaps for artificial oblique -->
  363.                 <edit name="embeddedbitmap" mode="assign">
  364.                         <bool>false</bool>
  365.                 </edit>
  366.     </match>
  367.  
  368. <!--
  369.  Synthetic emboldening for fonts that do not have bold face available
  370.  -->
  371.  
  372.     <match target="font">
  373.         <!-- check to see if the font is just regular -->
  374.         <test name="weight" compare="less_eq">
  375.             <const>medium</const>
  376.         </test>
  377.         <!-- check to see if the pattern requests bold -->
  378.         <test target="pattern" name="weight" compare="more">
  379.             <const>medium</const>
  380.         </test>
  381.         <!--
  382.           set the embolden flag
  383.           needed for applications using cairo, e.g. gucharmap, gedit, ...
  384.         -->
  385.         <edit name="embolden" mode="assign">
  386.             <bool>true</bool>
  387.         </edit>
  388.         <!--
  389.          set weight to bold
  390.          needed for applications using Xft directly, e.g. Firefox, ...
  391.         -->
  392.         <edit name="weight" mode="assign">
  393.             <const>bold</const>
  394.         </edit>
  395.         <!--
  396.          Hinting will be done before Embolden in freetype2,
  397.          but in such case, Embolden will get wrong result
  398.          on some glyph contours after applying hinting.
  399.          Actually, hinting should be done after embolden, but we can't
  400.          fix it in current freetype2. So as a workaround, just turn off
  401.          hinting if we want to do embolden.
  402.         -->
  403.         <edit name="hintstyle" mode="assign">
  404.             <const>hintnone</const>
  405.         </edit>
  406.     </match>
  407.  
  408.  
  409.     <config>
  410. <!--
  411.   These are the default Unicode chars that are expected to be blank
  412.   in fonts.  All other blank chars are assumed to be broken and
  413.   won't appear in the resulting charsets
  414.  -->
  415.         <blank>
  416.             <int>0x0020</int>    <!-- SPACE -->
  417.             <int>0x00A0</int>    <!-- NO-BREAK SPACE -->
  418.             <int>0x00AD</int>    <!-- SOFT HYPHEN -->
  419.             <int>0x034F</int>    <!-- COMBINING GRAPHEME JOINER -->
  420.             <int>0x0600</int>    <!-- ARABIC NUMBER SIGN -->
  421.             <int>0x0601</int>    <!-- ARABIC SIGN SANAH -->
  422.             <int>0x0602</int>    <!-- ARABIC FOOTNOTE MARKER -->
  423.             <int>0x0603</int>    <!-- ARABIC SIGN SAFHA -->
  424.             <int>0x06DD</int>    <!-- ARABIC END OF AYAH -->
  425.             <int>0x070F</int>    <!-- SYRIAC ABBREVIATION MARK -->
  426.             <int>0x115F</int>    <!-- HANGUL CHOSEONG FILLER -->
  427.             <int>0x1160</int>    <!-- HANGUL JUNGSEONG FILLER -->
  428.             <int>0x1680</int>    <!-- OGHAM SPACE MARK -->
  429.             <int>0x17B4</int>    <!-- KHMER VOWEL INHERENT AQ -->
  430.             <int>0x17B5</int>    <!-- KHMER VOWEL INHERENT AA -->
  431.             <int>0x180E</int>    <!-- MONGOLIAN VOWEL SEPARATOR -->
  432.             <int>0x2000</int>    <!-- EN QUAD -->
  433.             <int>0x2001</int>    <!-- EM QUAD -->
  434.             <int>0x2002</int>    <!-- EN SPACE -->
  435.             <int>0x2003</int>    <!-- EM SPACE -->
  436.             <int>0x2004</int>    <!-- THREE-PER-EM SPACE -->
  437.             <int>0x2005</int>    <!-- FOUR-PER-EM SPACE -->
  438.             <int>0x2006</int>    <!-- SIX-PER-EM SPACE -->
  439.             <int>0x2007</int>    <!-- FIGURE SPACE -->
  440.             <int>0x2008</int>    <!-- PUNCTUATION SPACE -->
  441.             <int>0x2009</int>    <!-- THIN SPACE -->
  442.             <int>0x200A</int>    <!-- HAIR SPACE -->
  443.             <int>0x200B</int>    <!-- ZERO WIDTH SPACE -->
  444.             <int>0x200C</int>    <!-- ZERO WIDTH NON-JOINER -->
  445.             <int>0x200D</int>    <!-- ZERO WIDTH JOINER -->
  446.             <int>0x200E</int>    <!-- LEFT-TO-RIGHT MARK -->
  447.             <int>0x200F</int>    <!-- RIGHT-TO-LEFT MARK -->
  448.             <int>0x2028</int>    <!-- LINE SEPARATOR -->
  449.             <int>0x2029</int>    <!-- PARAGRAPH SEPARATOR -->
  450.             <int>0x202A</int>    <!-- LEFT-TO-RIGHT EMBEDDING -->
  451.             <int>0x202B</int>    <!-- RIGHT-TO-LEFT EMBEDDING -->
  452.             <int>0x202C</int>    <!-- POP DIRECTIONAL FORMATTING -->
  453.             <int>0x202D</int>    <!-- LEFT-TO-RIGHT OVERRIDE -->
  454.             <int>0x202E</int>    <!-- RIGHT-TO-LEFT OVERRIDE -->
  455.             <int>0x202F</int>    <!-- NARROW NO-BREAK SPACE -->
  456.             <int>0x205F</int>    <!-- MEDIUM MATHEMATICAL SPACE -->
  457.             <int>0x2060</int>    <!-- WORD JOINER -->
  458.             <int>0x2061</int>    <!-- FUNCTION APPLICATION -->
  459.             <int>0x2062</int>    <!-- INVISIBLE TIMES -->
  460.             <int>0x2063</int>    <!-- INVISIBLE SEPARATOR -->
  461.             <int>0x206A</int>    <!-- INHIBIT SYMMETRIC SWAPPING -->
  462.             <int>0x206B</int>    <!-- ACTIVATE SYMMETRIC SWAPPING -->
  463.             <int>0x206C</int>    <!-- INHIBIT ARABIC FORM SHAPING -->
  464.             <int>0x206D</int>    <!-- ACTIVATE ARABIC FORM SHAPING -->
  465.             <int>0x206E</int>    <!-- NATIONAL DIGIT SHAPES -->
  466.             <int>0x206F</int>    <!-- NOMINAL DIGIT SHAPES -->
  467.             <int>0x3000</int>    <!-- IDEOGRAPHIC SPACE -->
  468.             <int>0x3164</int>    <!-- HANGUL FILLER -->
  469.             <int>0xFEFF</int>    <!-- ZERO WIDTH NO-BREAK SPACE -->
  470.             <int>0xFFA0</int>    <!-- HALFWIDTH HANGUL FILLER -->
  471.             <int>0xFFF9</int>    <!-- INTERLINEAR ANNOTATION ANCHOR -->
  472.             <int>0xFFFA</int>    <!-- INTERLINEAR ANNOTATION SEPARATOR -->
  473.             <int>0xFFFB</int>    <!-- INTERLINEAR ANNOTATION TERMINATOR -->
  474.         </blank>
  475. <!--
  476.   Rescan configuration every 30 seconds when FcFontSetList is called
  477.  -->
  478.         <rescan>
  479.             <int>30</int>
  480.         </rescan>
  481.     </config>
  482.  
  483. </fontconfig>
  484.