Avenir Next discards opentype selectors set via UIFontDescriptors
| Originator: | marcos | ||
| Number: | rdar://17624040 | Date Originated: | 10-Jul-2014 |
| Status: | Duplicate of 17915325 | Resolved: | |
| Product: | iOS | Product Version: | 7.1 (11D167) |
| Classification: | Reproducible: | yes |
Although Avenir Next supports opentype's C2SC and SMCP features (via querying with CTFontCopyFeatures) kLowerCaseType and kUpperCaseType and setting those features with selectors kLowerCaseSmallCapsSelector, when creating a fontdescriptor that has those features set on a weight of avenir, the features are discarded. In contrast, setting those features on a third-party font (Nadyezhda SL One, for example, although also tested with proxima nova as well) that reports the same features available, succeeds. The mechanism for setting the features seems ok, but the version of avenir next bundled with ios seems broken, preventing the feature from working even though the glyphs and features appear available on the font. Expected Results: similar to osx behavior in textedit, would expect avenir next to activate the small cap feature. Actual Results: the features are discarded on the font descriptor and avenir remains lowercase Version: iOS 7.1 11D167
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!