poppler/Gfx.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9f0e4b747a1527bd6354897cdba7954d58651de
Author: Carlos Garcia Campos <[email protected]>
Date:   Tue Apr 27 14:26:23 2010 +0200

    Fix first color stop offset of linear gradients
    
    Fixes bug #27837.

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 8a7dfee..6259733 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -2524,7 +2524,7 @@ void Gfx::doAxialShFill(GfxAxialShading *shading) {
   if (out->useFillColorStop()) {
     // make sure we add stop color when t = tMin
     state->setFillColor(&color0);
-    out->updateFillColorStop(state, (tt - tMin)/(tMax - tMin));
+    out->updateFillColorStop(state, 0);
   }
 
   // compute the coordinates of the point on the t axis at t = tMin;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to