[poppler] Branch 'poppler-0.6' - poppler/GfxState.cc

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


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

New commits:
commit 48709381eacca4e6af4e0ca8417c486ac6139bb3
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 5c55d53..0101d11 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -1968,9 +1968,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