Creating a new PDF via UIGraphicsBeginPDFContextToFile and CGContextDrawPDFPage results in missing text

Originator:steipete
Number:rdar://18823430 Date Originated:30-Oct-2014 12:59 PM
Status:Open Resolved:
Product:iOS Product Version:8.1
Classification: 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).

Expected Results:
File should look the same.

Actual Results:
Most text is missing in the output file.

Version:
iOS 8.1

Notes:


Configuration:
iPad Air 2

Attachments:
'DocumentRenderSample.zip' was successfully uploaded.

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!