-<!--
- Provide required aliases for standard names
--->
- <alias>
- <family>serif</family>
- <prefer>
- <family>Bitstream Vera Serif</family>
- <family>DejaVu Serif</family>
- <family>Times New Roman</family>
- <family>Thorndale AMT</family>
- <family>Luxi Serif</family>
- <family>Nimbus Roman No9 L</family>
- <family>Times</family>
- <family>Frank Ruehl</family>
- <family>MgOpen Canonica</family>
- <family>Kochi Mincho</family>
- <family>AR PL SungtiL GB</family>
- <family>AR PL Mingti2L Big5</family>
- <family>MS 明朝</family>
- <family>Baekmuk Batang</family>
- <family>FreeSerif</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Bitstream Vera Sans</family>
- <family>DejaVu Sans</family>
- <family>Verdana</family>
- <family>Arial</family>
- <family>Albany AMT</family>
- <family>Luxi Sans</family>
- <family>Nimbus Sans L</family>
- <family>Helvetica</family>
- <family>Nachlieli</family>
- <family>MgOpen Modata</family>
- <family>Kochi Gothic</family>
- <family>AR PL KaitiM GB</family>
- <family>AR PL KaitiM Big5</family>
- <family>MS ゴシック</family>
- <family>Baekmuk Dotum</family>
- <family>SimSun</family>
- <family>FreeSans</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Bitstream Vera Sans Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>Andale Mono</family>
- <family>Courier New</family>
- <family>Cumberland AMT</family>
- <family>Luxi Mono</family>
- <family>Nimbus Mono L</family>
- <family>Courier</family>
- <family>Miriam Mono</family>
- <family>Kochi Gothic</family>
- <family>AR PL KaitiM GB</family>
- <family>Baekmuk Dotum</family>
- <family>FreeMono</family>
- </prefer>
- </alias>
-
-<!--
- Artificial oblique for fonts without an italic or oblique version
- -->
-
- <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>
- <!-- multiply the matrix to slant the font -->
- <edit name="matrix" mode="assign">
- <times>
- <name>matrix</name>
- <matrix><double>1</double><double>0.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>
- <!-- and disable embedded bitmaps for artificial oblique -->
- <edit name="embeddedbitmap" mode="assign">
- <bool>false</bool>
- </edit>
- </match>
-
-<!--
- Synthetic emboldening for fonts that do not have bold face available
- -->
-
- <match target="font">
- <!-- check to see if the font is just regular -->
- <test name="weight" compare="less_eq">
- <const>medium</const>
- </test>
- <!-- check to see if the pattern requests bold -->
- <test target="pattern" name="weight" compare="more">
- <const>medium</const>
- </test>
- <!--
- set the embolden flag
- needed for applications using cairo, e.g. gucharmap, gedit, ...
- -->
- <edit name="embolden" mode="assign">
- <bool>true</bool>
- </edit>
- <!--
- set weight to bold
- needed for applications using Xft directly, e.g. Firefox, ...
- -->
- <edit name="weight" mode="assign">
- <const>bold</const>
- </edit>
- </match>