http://bugs.winehq.org/show_bug.cgi?id=13600
--- Comment #17 from Michal Suchanek hramrach@centrum.cz 2008-06-05 05:15:44 --- (In reply to comment #16)
(In reply to comment #15)
So I run LANG=ja_JP.UTF-8 wine testwin.exe which renders expected number of characters but the Japanese ones aren't displayed - only spaces or black squares are rendered instead.
Does Wine notepad show japanese fonts in menus and in the text?
No. I never get Japanese menus, and I have to manually choose a Japanese font for the text to show the Japanese characters.
However, regedit does show the date in International settings correctly.
This is on an installation without Windows fonts.
If a Windows application hard codes font names (which is the case for most Windows applications) missing necessary fonts is fatal.
I have specifically written this application to test the functionality. As far as I can tell I have not hardcoded any font but you can examine the source to be sure.
However, most Japanese font packages provide two font variants that contain Mincho and Gothic at the end of their font name.
That's not enough.
What is enough then?
If it is necessary to substitute the MS fonts to some fonts that exist I could do that in registry and Wine could perhaps do that automagically if at least some Mincho and Gothic fonts exist.
Still even if those fonts exist there is apparently something missing as the application doesn't display correctly anyway.
I can hack the registry to hardcode all system fonts to Japanese fonts but that breaks if I start an application that requires a different locale.