UIFontDescriptor does not respect Monospace font attribute

Originator:marksands07
Number:rdar://33384500 Date Originated:18-Jul-2017 03:49 PM
Status:Open Resolved:
Product:tvOS + SDK Product Version:tvOS 11 beta 3
Classification:Serious Bug Reproducible:Always
 
Summary:
When using a custom font with monospace numbers, the UIFontDescriptor does not respect the monospace attribute when rendering the font. This is a *REGRESSION* from iOS and tvOS 10.

Steps to Reproduce:
See attached playground

Expected Results:
Custom fonts respect monospaced numbers

Actual Results:
The font’s numbers are rendered with proportional spacing.

Version:
tvOS 11 beta 3

Notes:
I know this is a late entry for iOS 11 fixes, but this is a *REGRESSION* from iOS 10.

Comments

Playground Gist

https://gist.github.com/marksands/5dcba46a18f4a7dee1a35bb9e0ed6916

By marksands07 at July 18, 2017, 9:27 p.m. (reply...)

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!