[csw-devel] SF.net SVN: gar:[7611] csw/mgar/pkg/fontforge/trunk/files

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Dec 13 15:14:43 CET 2009


Revision: 7611
          http://gar.svn.sourceforge.net/gar/?rev=7611&view=rev
Author:   wahwah
Date:     2009-12-13 14:14:43 +0000 (Sun, 13 Dec 2009)

Log Message:
-----------
fontforge: patches

Added Paths:
-----------
    csw/mgar/pkg/fontforge/trunk/files/grayscale-cvdgloss.c.patch
    csw/mgar/pkg/fontforge/trunk/files/grayscale.patch

Added: csw/mgar/pkg/fontforge/trunk/files/grayscale-cvdgloss.c.patch
===================================================================
--- csw/mgar/pkg/fontforge/trunk/files/grayscale-cvdgloss.c.patch	                        (rev 0)
+++ csw/mgar/pkg/fontforge/trunk/files/grayscale-cvdgloss.c.patch	2009-12-13 14:14:43 UTC (rev 7611)
@@ -0,0 +1,13 @@
+--- fontforge-20090923/fontforge/cvdgloss.c.orig	2009-12-13 11:09:40.099444315 +0100
++++ fontforge-20090923/fontforge/cvdgloss.c	2009-12-13 11:15:08.708601663 +0100
+@@ -1041,7 +1041,10 @@
+ 	    (val1&2) ? exc->tt_metrics.rotated ? "(rotated) | ": "(not rotated) | " : "",
+ 	    (val1&4) ? exc->tt_metrics.stretched ? "(stretched) | ": "(not stretched) | " : "",
+ #if FREETYPE_MAJOR>2 || (FREETYPE_MAJOR==2 && (FREETYPE_MINOR>1 || (FREETYPE_MINOR==1 && FREETYPE_PATCH>11 )))
++	    /*
+ 	    (val1&32) ? exc->grayscale ? "(grey scale)": "(black/white)" : ""
++	    */
++	    ""
+ #else
+ 	    ""
+ #endif

Added: csw/mgar/pkg/fontforge/trunk/files/grayscale.patch
===================================================================
--- csw/mgar/pkg/fontforge/trunk/files/grayscale.patch	                        (rev 0)
+++ csw/mgar/pkg/fontforge/trunk/files/grayscale.patch	2009-12-13 14:14:43 UTC (rev 7611)
@@ -0,0 +1,12 @@
+--- fontforge-20090923/fontforge/freetypeui.c.orig	2009-12-13 11:06:55.587423639 +0100
++++ fontforge-20090923/fontforge/freetypeui.c	2009-12-13 11:07:48.584395183 +0100
+@@ -187,7 +187,8 @@
+ return( TT_Err_Execution_Too_Long );		/* Some random error code, says we're probably in a infinite loop */
+     dc->exc = exc;
+ #if FREETYPE_MAJOR>2 || (FREETYPE_MAJOR==2 && (FREETYPE_MINOR>1 || (FREETYPE_MINOR==1 && FREETYPE_PATCH>11 )))
+-    exc->grayscale = !dc->is_bitmap;		/* if we are in 'prep' or 'fpgm' freetype doesn't know this yet */
++    /* The keyword 'grayscale' doesn't come up in the freetype library headers. */
++    /* exc->grayscale = !dc->is_bitmap;	*/	/* if we are in 'prep' or 'fpgm' freetype doesn't know this yet */
+ #endif
+ 
+     /* Set up for watch points */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list