* 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.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
diff --git a/ChangeLog b/ChangeLog
index b74b2fc..3019011 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-27 Werner Lemberg <wl@gnu.org>
+
+ * 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 <wl@gnu.org>
Improve navigation in API reference.
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 305d21c..8f01474 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -2213,13 +2213,6 @@ static const char count_table[256] =
/* 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 @@ static const char count_table[256] =
/* | */
/* 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;
@@ -2673,13 +2659,6 @@ static const char count_table[256] =
/* 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 );