CoreText Global Font Cascade table has incorrect entry for Chinese Font
||Date Originated:||April 17th, 2012|
||Resolved:||June 21st, 2012|
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.
The Chinese glyphs should be displayed in non-bold because CoreText consults the global font cascade table.
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.
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!