http://bugs.winehq.org/show_bug.cgi?id=29850
Bug #: 29850 Summary: Scilab does not display Chinese Product: Wine Version: 1.4-rc2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
1. Download Scilab installer
http://www.scilab.org/download/5.3.2/scilab-5.3.2.exe
2. make sure "WenQuanYi Micro Hei" is installed. wqy-microhei.ttc
3. setting Chinese font replacements. ;; wine.inf HKCU, Software\Wine\Fonts\Replacements,"SimSun",,"WenQuanYi Micro Hei"
4. wineboot
5. install Scilab with LANG=zh_CN.utf8, select Chinese language for installing.
6. start Scilab: $ wine WScilex.exe
Expect result: Display Chinese Actual result: Chinese font is displayed as boxes, I can't find any workaround by overriding FontLink registry.
Extra info: - Chinese display correctly for the Scilab installer, but wrong for WScilex.exe - It seems WScilex.exe does not use ExtTextOutW family function for output characters. (But the installer use ExtTextOutW)
http://bugs.winehq.org/show_bug.cgi?id=29850
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://www.scilab.org/downl | |oad/5.3.2/scilab-5.3.2.exe
--- Comment #1 from Qian Hong fracting@gmail.com 2012-02-09 15:51:04 CST --- Filling some keywords.
http://bugs.winehq.org/show_bug.cgi?id=29850
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #2 from Qian Hong fracting@gmail.com 2012-02-09 15:51:44 CST --- CC Aric.
Please let me know if you want any debug information. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=29850
--- Comment #3 from Qian Hong fracting@gmail.com 2012-02-29 23:38:06 CST --- Hello, found a workaround:
$ cd ~/.wine/drive_c/Program\ Files/scilab-5.3.2/java/JRE/lib/fonts
$ ls
LucidaBrightDemiBold.ttf LucidaSansDemiBold.ttf LucidaBrightDemiItalic.ttf LucidaSansRegular.ttf LucidaBrightItalic.ttf LucidaTypewriterBold.ttf LucidaBrightRegular.ttf LucidaTypewriterRegular.ttf
$ mkdir fallback
$ cp /usr/share/fonts/truetype/wqy/wqy-microhei.ttc ./
Start Scilab again and this time Chinese display correctly. But there is an anti-aliasing issue, and that should be another bug.
http://bugs.winehq.org/show_bug.cgi?id=29850
--- Comment #4 from Qian Hong fracting@gmail.com 2012-03-31 02:48:53 CDT --- Hello, also affects AvroEditor's OpenFile dialog, with jre-6u31-windows-i586-s.exe:
http://jaist.dl.sourceforge.net/project/avroeditor/AvroEditor/AvroEditor_0.8...
Same workaround works for AvroEditor.
Scilab has a builtin JRE, AvroEditor requires a JRE on the system.
History there is a JVM bug regarding Chinese display, very similar to this one, but I've confirm this two program work out of box on Windows XP, no fallback needed in java/JRE/lib/fonts directory, so here we must have something wrong with wine itself.
I'm going to re-summary the title to "JVM based application display Chinese as boxes"
I'll working on this bug and try to fixed it.
http://bugs.winehq.org/show_bug.cgi?id=29850
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Scilab does not display |JVM based application |Chinese |display Chinese as boxes
https://bugs.winehq.org/show_bug.cgi?id=29850
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?