http://bugs.winehq.org/show_bug.cgi?id=5309
------- Additional Comments From hzhrong(a)gmail.com 2006-28-05 08:43 -------
Created an attachment (id=2546)
--> (http://bugs.winehq.org/attachment.cgi?id=2546&action=view)
A demonstration to load XFontSet "*"
The attached program is a demonstration to load XFontSet "*", please test in
difference locales especially CJK, see how long time it will take.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5309
hzhrong(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |major
------- Additional Comments From hzhrong(a)gmail.com 2006-28-05 08:34 -------
Change Severity to major.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5309
Summary: Wine performance lost on some CJK environment
Product: Wine
Version: CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: wine-x11driver
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: hzhrong(a)gmail.com
I notice some CJK users complain that wine is too slow to run apps, when
clicking menu, or opening dialog box, it takes too long time to display. And
they said, if killed X input method, wine run fast again.
I haven't meet this problem until I changed X FontPath one day, yes, Wine run
very slowly, got very import performance problem. When I killed X input method,
it's fast again. So I realize it's a XIM related bug.
While reviewing dlls/x11drv/xim.c, in function X11DRV_CreateIC, about line 487,
I see the following code:
fontSet = XCreateFontSet(display,
"*", /*FIXME*/
&list, &count, NULL);
So, it's clear that it cause the problem. Looking for a matched "*" X fontSet is
ofen fast if there is no X core font lacked, otherwise it will take a long time.
In my case, in zh_CN.GBK or zh_CN.UTF-8 locale, X core font *-gbk-0 are missing.
When I add these fonts back, the problem resolved.
For a solution, I suggest to use "fixed" instead of "*", since modern X input
method apps doesn't use XFontSet anymore. Change to:
fontSet = XCreateFontSet(display,
"fixed",
&list, &count, NULL);
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5300
------- Additional Comments From felix(a)derklecks.de 2006-28-05 07:14 -------
after further playing with the program i found out, that without the Tahoma font
copied to windows/fonts/ the glyphs are showing up correctly for a short moment.
Slowing down the program with strace the glyphs are displayed correctly for a
quarter of a second or so. After that they change to the black squares that can
be seen on the first screenshot.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.