PDFKit characterBoundsAtIndex error in index with ligatures
Originator: | ldenoue | ||
Number: | rdar://6164844138987521 | Date Originated: | |
Status: | OPEN | Resolved: | |
Product: | iOS | Product Version: | 12.0 |
Classification: | Reproducible: | YES |
characterBoundsAtIndex from PDFPage returns rectangles of a given character index. However, ligatures (like ff, fi, fl) are expanded in the PDFPage.string. The result is that the character and PDFRect of a specific index sometimes do not match.
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!
Is this a legitimate radar?
The number seems suspect...