Some Xcod custom fonts aren't displayed while editing UITextField
| Originator: | info | ||
| Number: | rdar://10926766 | Date Originated: | 24 Feb 2012 |
| Status: | Open | Resolved: | |
| Product: | xcode | Product Version: | 4.x |
| Classification: | Reproducible: |
Summary: Some fonts used in a UITextField revert to default font while editing the UITextField, then appear back as custom font when done. Steps to Reproduce: Copy 2Dumb or 3Dumb font to Xcode project and add the filename to 'Fonts provided by application' in the .plist Create UITextField In viewDidLoad write: field.font = [UIFont fontWithName:@"2Dumb" size:20.f]; Run the project and edit the text field. Expected Results: 2Dumb font should be shown in the Text Field even when editing. Actual Results: You'll see standard font until exit the text field when you'll see the 2Dumb font. Regression: Doesn't happen with all fonts. Notes: http://stackoverflow.com/questions/9359479/uitextfield-changes-font-while-editing http://stackoverflow.com/questions/7103560/uitextfields-custom-font-changes-while-in-edit-mode
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!