I am creating a PDF file that will be used as a mail application, inside my application. Which works well, but I have no idea how to create anything other than a 72dpi PDF.
I start like this
CGRect mediaBox = CGRectMake(0, 0, 595, 842); CGContextRef context = CGPDFContextCreateWithURL([NSURL fileURLWithPath:path], &mediaBox, NULL);
Make all my quartz drawings inside the context, everything works fine, but by increasing the mediabox, I can only resize the page.
I'm sure I'm missing something obvious, but I can't find where to specify the dpi?
source share