Created attachment 98043 [details]
Screen shot 1:Basic_Fonts(Asian) 4.1.x or later
The problem is that Basic fonts(Asian) are Arial Unicode MS(LibreOffice 4.1.x or later).
Expected behavior is that Basic fonts(Asian) are Hiragino Mincho ProN font.
The root cause of the problem is that we still have not changed font names in VCL.xcu.
Most probably, we need to use only specify the font family name(without weight) in VCL.xcu for LibreOffice 4.1 or later.
Steps to reproduce:
1. Start Writer.
2. Open Preferences.
3. Show Options -> LibreOffice Writer -> Basic Fonts(Asian).
Operating System: Mac OS X
Version: 22.214.171.124 release
I'm guessing the cause of this bug is that LibreOffice 4.1 or later uses CoreText API instead of ATSUI API.
I added Khaled Hosny on CC.
Because I was taught he is the expert on Mac CoreText API.
I've CCed Michael as i know he'll point the issue in the right direction.
Khaled is really the expert here; I defer to him =)
The same problem exists with CTL languages activated.
Build ID: 7dc6c9af4ba313f054331f5130470d83d875bc16
Created attachment 109503 [details]
This patch removes a suffix(w3, w6) from the japanese font name in the VCL.xcu.
LibreOffice 4.1 and later, on Mac OS X, the font family names are kept without suffix in the system font list.
Some font names in VCL.xcu (font family name including the weight as suffix) doesn't match the font name kept in the system font list.
This is the reason that causes the problem.
This problem reproduces at the CJK fonts environment.
The patch resolves this problem with Japanese fonts environment only.
Tomofumi Yagi committed a patch related to this issue.
It has been pushed to "master":
fdo#77971 Writer:Better font selection in Japanese locale on Mac OSX.
It will be available in 4.4.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Verified on 4.4 master - Asian fonts now default to Hiragino when the language or Asian font setting are set to Japanese
Caolán backported the patch to 4-3 as commit ad3da3ba.