ref: 0e6fc09134c0c39016f681802918b92db2ab2155
parent: 5edc2f339a84348effeae8db7d32fe3a96ff6d84
author: Werner Lemberg <[email protected]>
date: Sat Oct 2 05:05:46 EDT 2010
[smooth] Fix splitting of cubics for negative values. Reported by Róbert Márki <[email protected]>; see http://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html. * src/smooth/ftgrays.c (gray_render_cubic): Fix thinko.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-10-02 Werner Lemberg <[email protected]>
+
+ [smooth] Fix splitting of cubics for negative values.
+
+ Reported by Róbert Márki <[email protected]>; see
+ http://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html.
+
+ * src/smooth/ftgrays.c (gray_render_cubic): Fix thinko.
+
2010-10-01 suzuki toshiya <[email protected]>
Fix Savannah bug #31040.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1028,7 +1028,7 @@
if ( y > max )
max = y;
- if ( TRUNC( min ) >= ras.max_ey || TRUNC( max ) < 0 )
+ if ( TRUNC( min ) >= ras.max_ey || TRUNC( max ) < ras.min_ey )
goto Draw;
/* Decide whether to split or draw. See `Rapid Termination */