> On Apr 19, 2017, at 12:23 PM, Christian Schmitz 
> <[email protected]> wrote:
> 
>> 1) Is there a way to hand an DynaPDF object over to CGContextMBS for 
>> printing? (without saving as a file first)
> 
> You can render a page as picture with DynaPDF and draw it in the CGContext.
> If you do the colorspaces right and use high resolution it should work fine.
> 

OK. that had come to mind... but it seems a bit of a last-resort hack. 

In addition is will generate some rather large print files and, if they choose 
to "print to PDF" which many of our users likely will, then large unsearchable 
PDF files..

But I can live with writing out temp files for printing. (and it's 
understandable that DynaPDF's in-RAM structure would be fundamentally 
incompatible with macOS PDF handling)

The larger problem is the transparency issue introduced in printing. I can open 
the original PDF in Preview and view / print without the issue. But when it's 
opened using CGPDFDocumentMBS and CGContextMBS.DrawCGPDFDocument is used for 
printing, it fails...

I'm on Sierra 10.12.4 and I also see the problem on current iOS but a colleague 
on OS 10.9 doesn't see the problem. Perhaps something in Apple's newer PDF 
rendering?

Steve


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to