Remove font set when calling XCreateIC?

Nigel Liang ncliang at gmail.com
Mon Jun 18 22:29:30 CDT 2007


Hi,

This patch removes a call to XCreateFontSet which was causing wine to
be very slow in some Chinese locale settings. The server side font
calls are supposed to be deprecated anyway as Dan pointed out in his
comment here: http://bugs.winehq.org/show_bug.cgi?id=5309

According to the Xlib programming manual, if a font set is not
specified when calling XCreateIC, the default is determined by the
input method. But it seems that this used to be a required field, so I
am not sure if this will break any old input methods out there. Any
ideas on how I could better test this before submitting?

Thanks!
-Nigel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xim_rmfontset.diff
Type: text/x-patch
Size: 1828 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070618/f1063350/xim_rmfontset.bin


More information about the wine-devel mailing list