2002-02-15 00:34:13 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
|
|
<!-- /etc/fonts.conf file to configure system font access -->
|
|
|
|
<fontconfig>
|
|
|
|
|
|
|
|
<!-- FONTPATH_START -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Common X11R6 font directories
|
|
|
|
-->
|
|
|
|
|
|
|
|
<dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
|
|
|
|
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
|
|
|
|
<dir>/usr/X11R6/lib/X11/fonts/TrueType</dir>
|
|
|
|
|
|
|
|
<!-- FONTPATH_END -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Accept deprecated 'mono' alias, replacing it with 'monospace'
|
|
|
|
-->
|
|
|
|
<match target="pattern">
|
|
|
|
<test qual="any" name="family">
|
|
|
|
<string>mono</string>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="assign">
|
|
|
|
<string>monospace</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
|
|
|
|
-->
|
|
|
|
<match target="pattern">
|
|
|
|
<test qual="any" name="family">
|
|
|
|
<string>sans</string>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="assign">
|
|
|
|
<string>sans-serif</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Mark common families with their generics so we'll get
|
|
|
|
something reasonable
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Serif faces
|
|
|
|
-->
|
|
|
|
<alias>
|
|
|
|
<family>Times</family>
|
|
|
|
<family>Times New Roman</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<family>Nimbus Roman No9 L</family>
|
|
|
|
<family>Luxi Serif</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Kochi Mincho</family>
|
|
|
|
<family>AR PL SungtiL GB</family>
|
|
|
|
<family>Baekmuk Batang</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
<default><family>serif</family></default>
|
|
|
|
</alias>
|
|
|
|
<!--
|
|
|
|
Sans-serif faces
|
|
|
|
-->
|
|
|
|
<alias>
|
|
|
|
<family>Helvetica</family>
|
|
|
|
<family>Arial</family>
|
|
|
|
<family>Verdana</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<family>Nimbus Sans L</family>
|
|
|
|
<family>Luxi Sans</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Kochi Gothic</family>
|
|
|
|
<family>AR PL KaitiM GB</family>
|
|
|
|
<family>Baekmuk Dotum</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
<default><family>sans-serif</family></default>
|
|
|
|
</alias>
|
|
|
|
<!--
|
|
|
|
Monospace faces
|
|
|
|
-->
|
|
|
|
<alias>
|
|
|
|
<family>Courier</family>
|
|
|
|
<family>Courier New</family>
|
|
|
|
<family>Andale Mono</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<family>Luxi Mono</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Nimbus Mono L</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
<default><family>monospace</family></default>
|
|
|
|
</alias>
|
|
|
|
<!--
|
|
|
|
If the font still has no generic name, add sans-serif
|
|
|
|
-->
|
|
|
|
<match target="pattern">
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>sans-serif</string>
|
|
|
|
</test>
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>serif</string>
|
|
|
|
</test>
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>monospace</string>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="append_last">
|
|
|
|
<string>sans-serif</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Load per-user customization file
|
|
|
|
-->
|
|
|
|
<include ignore_missing="yes">~/.fonts.conf</include>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Alias well known font names to available TrueType fonts
|
|
|
|
-->
|
|
|
|
<alias>
|
|
|
|
<family>Times</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<accept><family>Times New Roman</family></accept>
|
2002-02-15 00:34:13 +01:00
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>Helvetica</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<accept><family>Verdana</family></accept>
|
2002-02-15 00:34:13 +01:00
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>Arial</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<accept><family>Verdana</family></accept>
|
2002-02-15 00:34:13 +01:00
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>Courier</family>
|
2002-05-21 19:08:42 +02:00
|
|
|
<accept><family>Courier New</family></accept>
|
2002-02-15 00:34:13 +01:00
|
|
|
</alias>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Provide required aliases for standard names
|
|
|
|
-->
|
|
|
|
<alias>
|
|
|
|
<family>serif</family>
|
|
|
|
<prefer>
|
|
|
|
<family>Times New Roman</family>
|
|
|
|
<family>Nimbus Roman No9 L</family>
|
|
|
|
<family>Luxi Serif</family>
|
|
|
|
<family>Times</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Kochi Mincho</family>
|
|
|
|
<family>AR PL SungtiL GB</family>
|
|
|
|
<family>Baekmuk Batang</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>sans-serif</family>
|
|
|
|
<prefer>
|
|
|
|
<family>Verdana</family>
|
|
|
|
<family>Nimbus Sans L</family>
|
|
|
|
<family>Luxi Sans</family>
|
|
|
|
<family>Arial</family>
|
|
|
|
<family>Helvetica</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Kochi Gothic</family>
|
|
|
|
<family>AR PL KaitiM GB</family>
|
|
|
|
<family>Baekmuk Dotum</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>monospace</family>
|
|
|
|
<prefer>
|
|
|
|
<family>Andale Mono</family>
|
|
|
|
<family>Courier New</family>
|
|
|
|
<family>Luxi Mono</family>
|
2002-06-19 08:31:46 +02:00
|
|
|
<family>Nimbus Mono L</family>
|
|
|
|
<family>Kochi Gothic</family>
|
|
|
|
<family>AR PL KaitiM GB</family>
|
|
|
|
<family>Baekmuk Dotum</family>
|
2002-02-15 00:34:13 +01:00
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
|
2002-06-19 23:32:51 +02:00
|
|
|
<!--
|
|
|
|
Artificial oblique for fonts without an italic or oblique version
|
|
|
|
-->
|
|
|
|
|
|
|
|
<match target="font">
|
|
|
|
<!-- check to see if the font is roman -->
|
|
|
|
<test qual="first" name="slant">
|
|
|
|
<const>roman</const>
|
|
|
|
</test>
|
|
|
|
<!-- check to see if the pattern requested non-roman -->
|
|
|
|
<test qual="not_first" name="slant" compare="not_eq">
|
|
|
|
<const>roman</const>
|
|
|
|
</test>
|
|
|
|
<!-- multiply the matrix to slant the font -->
|
|
|
|
<edit name="matrix" mode="assign">
|
|
|
|
<times>
|
|
|
|
<name>matrix</name>
|
|
|
|
<matrix><double>1</double><double>.2</double>
|
|
|
|
<double>0</double><double>1</double>
|
|
|
|
</matrix>
|
|
|
|
</times>
|
|
|
|
</edit>
|
|
|
|
<!-- pretend the font is oblique now -->
|
|
|
|
<edit name="slant" mode="assign">
|
|
|
|
<const>oblique</const>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
2002-05-21 19:08:42 +02:00
|
|
|
<config>
|
2002-02-15 00:34:13 +01:00
|
|
|
<!--
|
|
|
|
These are the default Unicode chars that are expected to be blank
|
|
|
|
in fonts. All other blank chars are assumed to be broken and
|
|
|
|
won't appear in the resulting charsets
|
|
|
|
-->
|
2002-05-21 19:08:42 +02:00
|
|
|
<blank>
|
|
|
|
<int>0x20</int> <!-- space -->
|
|
|
|
<int>0xa0</int> <!-- nsbp -->
|
|
|
|
<int>0x2000</int> <!-- general punctuation spaces -->
|
|
|
|
<int>0x2001</int>
|
|
|
|
<int>0x2002</int>
|
|
|
|
<int>0x2003</int>
|
|
|
|
<int>0x2004</int>
|
|
|
|
<int>0x2005</int>
|
|
|
|
<int>0x2005</int>
|
|
|
|
<int>0x2006</int>
|
|
|
|
<int>0x2007</int>
|
|
|
|
<int>0x2008</int>
|
|
|
|
<int>0x2009</int>
|
|
|
|
<int>0x200a</int>
|
|
|
|
<int>0x200b</int>
|
|
|
|
<int>0x3000</int> <!-- CJK space -->
|
|
|
|
</blank>
|
|
|
|
<!--
|
|
|
|
Rescan configuration every 30 seconds when FcFontSetList is called
|
|
|
|
-->
|
|
|
|
<rescan>
|
|
|
|
<int>30</int>
|
|
|
|
</rescan>
|
|
|
|
</config>
|
2002-02-15 00:34:13 +01:00
|
|
|
|
|
|
|
</fontconfig>
|