From 6a913f2a58d4eb0aa6b05dbd3f662474b942a5ff Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sun, 29 Mar 2009 21:35:40 +0200 Subject: [PATCH] fixed bug in poly2bitmap char clip detection --- lib/pdf/BitmapOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 5831a59..e550b1b 100644 --- a/lib/pdf/BitmapOutputDev.cc +++ b/lib/pdf/BitmapOutputDev.cc @@ -563,7 +563,7 @@ GBool BitmapOutputDev::clip0and1differ(int x1,int y1,int x2,int y2) int width8 = (width+7)/8; int height = clip0bitmap->getHeight(); - if(fixBBox(&x1,&y1,&x2,&y2,width,height)) { + if(!fixBBox(&x1,&y1,&x2,&y2,width,height)) { /* area is outside or null */ return gFalse; } -- 1.7.10.4