[maemo-commits] [maemo-commits] r15168 - in projects/haf/trunk/fontconfig: . debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Feb 12 14:09:36 EET 2008
Author: risun
Date: 2008-02-12 14:09:35 +0200 (Tue, 12 Feb 2008)
New Revision: 15168

Added:
   projects/haf/trunk/fontconfig/fontconfig-monotype-nohint.patch
Modified:
   projects/haf/trunk/fontconfig/debian/changelog
   projects/haf/trunk/fontconfig/debian/rules
Log:
disable hinting for monotype chinese font

Modified: projects/haf/trunk/fontconfig/debian/changelog
===================================================================
--- projects/haf/trunk/fontconfig/debian/changelog	2008-02-11 15:20:27 UTC (rev 15167)
+++ projects/haf/trunk/fontconfig/debian/changelog	2008-02-12 12:09:35 UTC (rev 15168)
@@ -1,3 +1,9 @@
+fontconfig (2.4.1-1osso4) unstable; urgency=low
+
+  * Updated: disable hinting for monotype font
+
+ -- Richard Sun <richard.sun at nokia.com>  Tue, 12 Feb 2008 14:02:31 +0200
+
 fontconfig (2.4.1-1osso3) unstable; urgency=low
 
   * New "LOCK" key introduced

Modified: projects/haf/trunk/fontconfig/debian/rules
===================================================================
--- projects/haf/trunk/fontconfig/debian/rules	2008-02-11 15:20:27 UTC (rev 15167)
+++ projects/haf/trunk/fontconfig/debian/rules	2008-02-12 12:09:35 UTC (rev 15168)
@@ -35,6 +35,7 @@
 	#patch -p0 < fontconfig-nodebug.patch - reimplemented, patch (hopefully) not needed anymore, 2.3.95
 	patch -p0 < fontconfig-lessfloat.patch
 	patch -p0 < fontconfig-optimize_config.patch
+	patch -p0 < fontconfig-monotype-nohint.patch
 	#patch -p0 < fontconfig-newtimes-nohint.patch 28.9.06: Merged to optimize-config - patch would fail otherwise :(
 	cd fontconfig && patch -p0 < ../fontconfig-remove-i18n.patch
 	cd fontconfig && ./configure --prefix=/usr --sysconfdir=/etc

Added: projects/haf/trunk/fontconfig/fontconfig-monotype-nohint.patch
===================================================================
--- projects/haf/trunk/fontconfig/fontconfig-monotype-nohint.patch	2008-02-11 15:20:27 UTC (rev 15167)
+++ projects/haf/trunk/fontconfig/fontconfig-monotype-nohint.patch	2008-02-12 12:09:35 UTC (rev 15168)
@@ -0,0 +1,17 @@
+diff -Naur fontconfig/conf.d/65-nonlatin.conf fontconfig-2.4.1-monotype-nohint/conf.d/65-nonlatin.conf
+--- fontconfig/conf.d/65-nonlatin.conf	2006-09-10 06:31:22.000000000 +0300
++++ fontconfig-2.4.1-monotype-nohint/conf.d/65-nonlatin.conf	2008-02-12 13:48:55.000000000 +0200
+@@ -35,4 +35,13 @@
+ 			<family>Baekmuk Dotum</family>
+ 		</prefer>
+ 	</alias>
++
++	<!-- Disable the hinting for monotype font -->
++	<match target="font">
++		<test name="family">
++			<string>MHeiGB18030C-Medium</string>
++		</test>
++		<edit name="hinting"><bool>false</bool></edit>
++	</match>
++		
+ </fontconfig>


More information about the maemo-commits mailing list