Default font selection for applications should be based on the language of the application instead of the system

Originator:liu.dongyuan
Number:rdar://25637333 Date Originated:08-Apr-2016 05:08 PM
Status:Duplicate Resolved:
Product:OS X SDK Product Version:OS X 10.11
Classification:UI/Usability Reproducible:Always
 
Summary:
Currently, OS X selects the default font for applications based on the system language. This is not ideal in some cases.

For example, the sample application has Chinese (Simplified) and English localizations. If a user had system preferred languages set as “Japanese > Chinese (Simplified) > English”, the application would fallback to Chinese (Simplified). However, OS X would use the default Japanese font for it. This causes Chinese content being displayed using Japanese font.

Steps to Reproduce:
1. Clone https://github.com/xhacker/radar and open the Xcode project in SystemFontInLanguage directory.
2. Set system preferred languages to “Japanese > Chinese (Simplified) > English”.
3. Build and run the sample project.

Expected Results:
The text in the application should use the default system font for Chinese (Simplified) .

Actual Results:
It used the default Japanese font instead. (Notice the third character 系, it’s in Japanese shape.)

Notes:
It would be better to have different fallbacks for different content. In this case, although the application should use Chinese font for its UI, it should still use Japanese font for other content.

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!