[Poppler-bugs] [Bug 10942] spurious horizontal stripes in color gradients

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 4 10:56:47 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=10942





--- Comment #25 from Albert Astals Cid <tsdgeos at terra.es>  2009-06-04 10:56:46 PST ---
You mean they fail with new patch or failed with old patch work with new one?

Both work on Splash BTW

Also 

@@ -2751,12 +2763,13 @@ void Gfx::doRadialShFill(GfxRadialShading *shading) {
   ya = y0 + sa * (y1 - y0);
   ra = r0 + sa * (r1 - r0);
   if (ta < t0) {
-    shading->getColor(t0, &colorA);
+    tt = t0;
   } else if (ta > t1) {
-    shading->getColor(t1, &colorA);
+    tt = t1;
   } else {
-    shading->getColor(ta, &colorA);
+    tt = ta;
   }
+  shading->getColor(tt, &colorA);

   // fill the circles
   while (ia < radialMaxSplits) {

looks like an unneeded change


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list