[poppler] poppler/GfxState.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Feb 9 08:56:36 PST 2008


 poppler/GfxState.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8cb0e75203daa01439413d1a775482b48e784baa
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Feb 9 17:56:13 2008 +0100

    Domain order is x_min x_max y_min y_max and not x_min y_min x_max y_max

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 0c8d184..f2f914d 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -1967,9 +1967,9 @@ GfxFunctionShading *GfxFunctionShading::parse(Dict *dict) {
       obj1.arrayGetLength() == 4) {
     x0A = obj1.arrayGet(0, &obj2)->getNum();
     obj2.free();
-    y0A = obj1.arrayGet(1, &obj2)->getNum();
+    x1A = obj1.arrayGet(1, &obj2)->getNum();
     obj2.free();
-    x1A = obj1.arrayGet(2, &obj2)->getNum();
+    y0A = obj1.arrayGet(2, &obj2)->getNum();
     obj2.free();
     y1A = obj1.arrayGet(3, &obj2)->getNum();
     obj2.free();


More information about the poppler mailing list