CTFramesetter ignores paragraph spacing when using paths that are not just a single rectangle
| Originator: | amorya | ||
| Number: | rdar://15140647 | Date Originated: | 3/Oct/2013 |
| Status: | Duplicate of 10535951 (Open) | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: On iOS 7, CTFramesetter ignores paragraph spacing if the framesetter's path is more complex than a single rectangle. This is a regression from iOS 6. The bug manifests even if you compile for iOS 6 SDK and then run on iOS 7. Steps to Reproduce: 1. Run the attached Xcode project. The app should be run on iOS 7. Expected Results: There should be two rectangles on the screen containing text, with text flowing from one to the other. There should be spaces between the paragraphs of text. Actual Results: The two rectangles appear as desired, with text flowing between them. However, the paragraphs do not have spacing between them. Version: 7.0 Notes: Adding a clipping path can also trigger this bug.
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!
Duplicate of 10535951 (Open)
Code from the sample project
For the benefit of OpenRadar users, here is the code that demonstrates the problem. This should be put in the drawRect method of a UIView.