Are there some issue with this pdf ?
what to do to get rid of this ?
here is my sample code
CGContextConcatCTM(context, CGPDFPageGetDrawingTransform(drawPDFPageRef, kCGPDFCropBox, self.bounds, angle, true));
appdel.widthScale=scale;
CGContextSetInterpolationQuality(context, kCGInterpolationHigh);
CGContextSetRenderingIntent(context, kCGRenderingIntentDefault);
CGContextSetRGBFillColor(context, 1.0f, 1.0f, 1.0f, 1.0f);
CGContextFillRect(context, cropBoxRect);
//CGContextClipToRect(context, cropBoxRect);
CGContextDrawPDFPage(context, drawPDFPageRef);
Pdf name is Xoom Pad 4.pdf
Well it’s certainly possible that the cropbox has negative values from pdf coordinate space.