On 5 Apr 2017, at 15:03, Akihiro Sagawa sagawa.aki@gmail.com wrote:
On Tue, Apr 04, 2017 at 11:25:18PM +0800, Jactry Zeng wrote:
This patch changes default interface typeface of CJK from Mincho font to Gothic font. Windows had made this change since Windows Vista. macOS and most of Linux distros are using Gothic typeface by default for CJK, too.
This seems to be confirmed by the great oracle of truth that is Wikipedia.
Signed-off-by: Huw Davies huw@codeweavers.com
I'm not sure about this. On my Japanese Windows 7, MS Shell Dlg points to MS UI Gothic, not Meiryo. If I remember correctly, it also points to legacy Mincho font in Chinese/Korean environment.
I'm afraid that this change also affects dialog base units (e.g. GetDialogBaseUnits). A lot of application dialogs depend on default font's dialog units. Though Windows 7 introduces new type faces, we should use legacy font face in GDI for that reason.
Instead of MS Shell Dlg, how about using "MS Shell Dlg 2" for system dialog windows?
Ok, so it sounds like this patch may not be correct.
Jactry, could you tell us what MS Shell Dlg and MS Shell Dlg 2 map to on your system? Look under HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Thanks, Huw.