[poppler] poppler/GfxState.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Mon Jan 19 00:54:38 PST 2009


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

New commits:
commit 3990c9e52da7b17215506857c792c90a37ebac79
Author: Koji Otani <sho at bbr.jp>
Date:   Mon Jan 19 09:53:00 2009 +0100

    Fix a problem in cairo backend when using a CMYK Profile

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 29d15e5..913245b 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -1573,7 +1573,7 @@ void GfxICCBasedColorSpace::getRGBLine(Guchar *in, unsigned int *out,
 	Guchar tmp[gfxColorMaxComps];
 
 	lineTransform->doTransform(in,tmp,1);
-	in += 3;
+	in += nComps;
 	out[i] = (tmp[0] << 16) | (tmp[1] << 8) | tmp[2];
     }
   } else {


More information about the poppler mailing list