Horizontal lines and PDF drawing on iPhone/iPad Quartz 2D
- by aron
I'm trying to display a PDF of music using the Quartz 2D calls:
CGPDFDocumentGetPage
and
CGPDFPageGetDrawingTransform
The problem is that some horizontal lines in the PDF get drawn thicker than others. The biggest problem is that I notice this in Preview on the Mac and on iPhone/iPad. Even when viewing this PDF in the iPhone/iPad mail, I get the same problem.
Here is the example:
http://aronnelson.com/problem/pdfproblem.jpg
Note that the PDF on the left is preview, the PDF on the right is the same file but in Google Docs. See how clean the Google Docs version is?
Is there any way to fix this problem? Would it help to draw the PDF larger and zoom down using a UIScrollView?
Any help appreciated. I can't find much info re: this problem.
Aron