File bugzilla-158573-turn-off-hinting-when-embolden.patch of Package fontconfig

diff -ru fontconfig-2.4.1.orig/conf.d/90-synthetic.conf fontconfig-2.4.1/conf.d/90-synthetic.conf
--- fontconfig-2.4.1.orig/conf.d/90-synthetic.conf	2006-09-11 03:18:28.000000000 +0200
+++ fontconfig-2.4.1/conf.d/90-synthetic.conf	2006-10-16 15:58:20.000000000 +0200
@@ -60,5 +60,16 @@
 		<edit name="weight" mode="assign">
 			<const>bold</const>
 		</edit>
+		<!--
+		 Hinting will be done before Embolden in freetype2,
+		 but in such case, Embolden will get wrong result
+		 on some glyph contours after applying hinting.
+		 Actually, hinting should be done after embolden, but we can't
+		 fix it in current freetype2. So as a workaround, just turn off
+		 hinting if we want to do embolden.
+		-->
+		<edit name="hintstyle" mode="assign">
+			<const>hintnone</const>
+		</edit>
 	</match>
 </fontconfig>