Creating a new PDF via UIGraphicsBeginPDFContextToFile and CGContextDrawPDFPage results in partial data loss
| Originator: | steipete | ||
| Number: | rdar://19901736 | Date Originated: | 20-Feb-2015 02:37 PM |
| Status: | Closed | Resolved: | Fixed |
| Product: | iOS SDK | Product Version: | 8.1.3 |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: Recreating a PDF via UIGraphicsBeginPDFContextToFile and CGContextDrawPDFPage results in a PDF where the majority of text is missing. The PDF renders correctly but re-saving it fails. Steps to Reproduce: See DocumentRenderSample. Run and open the output PDF (path is in the log). Compare with original PDF. See that most content is missing Expected Results: File should look the same. Actual Results: content is missing Version: iOS 8.1.3 Notes: Related to rdar://18406222 but with a different PDF.
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!
Fixed in iOS 8.3
Example: http://cl.ly/0U3R0Y200K0p