pdfPage.draw ios15 strange results

when calling PDFPage.draw the first page of the pdf prints by repeating the first word over and over. Only in iOS15 all other iOS versions print the page normally. Resaving the document in acrobat with 'optimized' on fixes the issue. However, we can't guarantee our users will do that before uploading a pdf in our system.

To give more context, we read in a pdf document, the user draws on top of it and signs it etc, we then re-save it using pdfpage.draw(..)

Something about this particular page iOS 15 does not like. It displays it fine but when it saves it back it does the above.

To give more context, we read in a pdf document, the user draws on top of it and signs it etc, we then re-save it using pdfpage.draw(..)

Something about this particular page iOS 15 does not like. It displays it fine but when it saves it back it does the above.

More info... the repeated word is actually an image in the pdf... not sure if that helps

we are experiencing similar issues with other images in our pdfs. The first image in a page prints over and over (replacing all other images on that page) when we call pdfpage.draw() on that page. This is a major issue for us!!! iOS15 ONLY!!!!!

I think this is fixed in 15.2.

pdfPage.draw ios15 strange results
 
 
Q