CGPDFPageRef returns nil unexpectedly where Adobe Acrobat can render the document.

Originator:steipete
Number:rdar://20069794 Date Originated:06-Mar-2015 02:42 PM
Status:Open Resolved:
Product:iOS Product Version:8.1.3
Classification:Other Bug Reproducible:Always
 
Summary:
CGPDFPageRef returns nil for pages 2454-2460 in the provided PDF.

Steps to Reproduce:
1. Create CGPDFDocumentRef with CGPDFDocumentCreateWithURL
2. Create CGPDFPageRef with CGPDFDocumentGetPage

(See attached example in the logs for an automated flow)

Expected Results:
CGPDFDocumentGetPage should return a correct CGPDFPageRef.

Actual Results:
CGPDFDocumentGetPage returns nil for pages 2454-2460.

Regression:
-

Notes:
The pages for which CGPDFDocumentGetPage can’t return a CGPDFPageRef are 2454-2460.
Safari and Preview can’t show the pages in question, but Acrobat can.
The PDF also gets correctly shown in Google Chrome.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!