- <match target="pattern">
- <test name="prefer_outline">
- <bool>true</bool>
- </test>
- <test name="family">
- <string>Times</string>
- </test>
- <edit name="family" mode="prepend" binding="same">
- <string>Times New Roman</string>
- </edit>
- </match>
-<!--
- 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>
- <family>Kochi Mincho</family>
- <family>AR PL SungtiL GB</family>
- <family>AR PL Mingti2L Big5</family>
- <family>Baekmuk Batang</family>
- </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>
- <family>Kochi Gothic</family>
- <family>AR PL KaitiM GB</family>
- <family>AR PL KaitiM Big5</family>
- <family>Baekmuk Dotum</family>
- <family>SimSun</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Andale Mono</family>
- <family>Courier New</family>
- <family>Luxi Mono</family>
- <family>Nimbus Mono L</family>
- <family>Kochi Gothic</family>
- <family>AR PL KaitiM GB</family>
- <family>Baekmuk Dotum</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>.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>