open-src/lib/fontconfig/fonts.conf.append
author Jay Hobson <Jay.Hobson@Sun.COM>
Mon, 16 Oct 2006 14:34:42 -0700
changeset 71 530828ea2076
parent 54 43f2cc726f52
child 322 f924bf1395e5
permissions -rw-r--r--
6428029 Monospace fonts are not displaying Thai words properly

<!--
  Prefer bitmap	fonts if the option "prefer_bitmap" is set to true.
 -->

<match target="font">
	<test name="prefer_bitmap">
		<bool>true</bool>
	</test>
	<test name="family">
		<string>FZSongTi</string>
		<string>FZMingTi</string>
	</test>
	<test name="pixelsize" compare="more_eq">
		<double>11.5</double>
	</test>
	<test name="pixelsize" compare="less">
		<double>17.5</double>
	</test>
	<edit name="antialias" mode="assign">
		<bool>false</bool>
	</edit>
</match>
<match target="font">
	<test name="prefer_bitmap">
		<bool>true</bool>
	</test>
	<test name="family">
		<string>SunDotum</string>
		<string>SunDotumChe</string>
	</test>
	<test name="pixelsize" compare="more_eq">
		<double>11</double>
	</test>
	<test name="pixelsize" compare="less">
		<double>25</double>
	</test>
	<edit name="antialias" mode="assign">
		<bool>false</bool>
	</edit>
</match>

<match target="font">
	<test name="prefer_bitmap">
		<bool>true</bool>
	</test>
	<test name="family">
		<string>HG-GothicB-Sun</string>
		<string>HG-PGothicB-Sun</string>
		<string>HG-MinchoL-Sun</string>
		<string>HG-PMinchoL-Sun</string>
	</test>
	<test name="pixelsize" compare="more_eq">
		<double>10</double>
	</test>
	<test name="pixelsize" compare="less">
		<double>22</double>
	</test>
	<edit name="antialias" mode="assign">
		<bool>false</bool>
	</edit>
</match>

<match target="font">
	<test name="prefer_bitmap">
		<bool>true</bool>
	</test>
	<test name="family">
		<string>MS Gothic</string>
		<string>MS PGothic</string>
		<string>MS UI Gothic</string>
		<string>MS Mincho</string>
		<string>MS PMincho</string>
	</test>
	<test name="pixelsize" compare="more_eq">
		<double>7</double>
	</test>
	<test name="pixelsize" compare="less_eq">
		<double>22</double>
	</test>
	<edit name="antialias" mode="assign">
		<bool>false</bool>
	</edit>
</match>

<!--
 Artificial bold for fonts without an bold version
 -->
<match target="font">
	<test name="weight" compare="less_eq">
		<const>medium</const>
	</test>
	<test target="pattern" name="weight" compare="more">
		<const>medium</const>
	</test>
	<edit name="weight" mode="assign">
		<const>bold</const>
	</edit>
</match>

<!--
 Mark Lucida Sans Typewriter as poor support for AR locale
 Use KacstQurn instead.
-->
<alias>
	<family>Monospace</family>
	<poor>
		<family>Lucida Sans Typewriter</family>
		<lang>ar</lang>
		<lang>th</lang>
	</poor>
</alias>