CoreText Global Font Cascade table has incorrect entry for Chinese Font

Number:rdar://11262229 Date Originated:April 17th, 2012
Status:Closed Resolved:June 21st, 2012
Product:iPhone SDK Product Version:5.0
Classification:Serious Bug Reproducible:Always

When drawing text that mixes Chinese and English text and a font attribute of Helvetica CoreText incorrectly falls back to bold Chinese glyphs. 

Steps to Reproduce:

- Switch to Chinese Locale on an iOS Device.
- Create an NSAttributedString that has Chines and English text and a CTFontRef for regular Helvetica.
- Render the text.

Expected Results:

The Chinese glyphs should be displayed in non-bold because CoreText consults the global font cascade table.

Actual Results:

The font cascade incorrectly returns a bold font for the chines glyphs.


I think that this was working correctly before iOS 5.0. Also note that there seem to be differences between Simulator and Device and different Locales. 


STHeitiSC-Light should be used as a cascade font for non-bold. Instead STHeitiSC-Medium is apparently used.


Fixed in future iOS version.

By oliver.drobnik at June 21, 2012, 7:03 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!