shithub: freetype+ttf2subf

Download patch

ref: a741c6f2aaba94c5a1162b0095b8ebe74ef959ee
parent: 8a9b63913f62bdf342f4bd8791cb7c7ebfdbfedd
author: Werner Lemberg <[email protected]>
date: Fri Jun 27 02:58:48 EDT 2008

* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Test for intersections which
degenerate to a single point can be ignored; this has been confirmed
by Greg Hitchcock from Microsoft.  (This was commented out code.)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-27  Werner Lemberg  <[email protected]>
+
+	* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
+	Horizontal_Gray_Sweep_Drop): Test for intersections which
+	degenerate to a single point can be ignored; this has been confirmed
+	by Greg Hitchcock from Microsoft.  (This was commented out code.)
+
 2008-06-26  Werner Lemberg  <[email protected]>
 
 	Improve navigation in API reference.
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -2213,13 +2213,6 @@
     /*  5                1, 2, 6                                       */
     /*  6, 7             same as mode 2                                */
 
-    /* FIXXXME: The specification doesn't discuss the case where the */
-    /*          intersections degenerate to a single point.          */
-#if 0
-    if ( x1 == x2 )
-      return;
-#endif
-
     e1  = CEILING( x1 );
     e2  = FLOOR  ( x2 );
     pxl = e1;
@@ -2415,13 +2408,6 @@
     /*        |                        */
     /* e2     +       <-- pixel center */
 
-    /* FIXXXME: The specification doesn't discuss the case where the */
-    /*          intersections degenerate to a single point.          */
-#if 0
-    if ( x1 == x2 )
-      return;
-#endif
-
     e1  = CEILING( x1 );
     e2  = FLOOR  ( x2 );
     pxl = e1;
@@ -2672,13 +2658,6 @@
 
 
     /* During the horizontal sweep, we only take care of drop-outs */
-
-    /* FIXXXME: The specification doesn't discuss the case where the */
-    /*          intersections degenerate to a single point.          */
-#if 0
-    if ( x1 == x2 )
-      return;
-#endif
 
     e1 = CEILING( x1 );
     e2 = FLOOR  ( x2 );