SDL 2 & ibus

Hi,

I’ve got most of the bits for ibus support in the x11 driver sort of
working. See https://bitbucket.org/emarcotte/sdl/commits/2cf6c548d7e3101d8a9592d3466740b1706f73e4

I’m not an expert on SDL internals or ibus so there may be some
glaring mistakes with how it is set up. I have been able to get the
testime program to successfully how some CJK symbols on fedora 19 when
using one of the fonts from http://fonts.jp/hanazono/.

Thanks,
Eugene

Thanks for the patch. Any third party library dependencies need to be
dynamically loaded (see how ALSA is handled for an example)

Also, this makes me nervous: g_main_context_iteration()

Any time multiple libraries start driving the GTk event loop there tend to
be problems.On Sun, Sep 15, 2013 at 5:18 PM, Eugene Marcotte wrote:

Hi,

I’ve got most of the bits for ibus support in the x11 driver sort of
working. See
https://bitbucket.org/emarcotte/sdl/commits/2cf6c548d7e3101d8a9592d3466740b1706f73e4

I’m not an expert on SDL internals or ibus so there may be some
glaring mistakes with how it is set up. I have been able to get the
testime program to successfully how some CJK symbols on fedora 19 when
using one of the fonts from http://fonts.jp/hanazono/.

Thanks,
Eugene


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hey Sam,

Thanks for the feedback. Regarding the glib event loop, would you
consider a separate thread with its own GMainContext a more preferable
approach? Are the other alternatives that you know of?

Thanks,
EugeneOn Mon, Sep 16, 2013 at 12:47 AM, Sam Lantinga wrote:

Thanks for the patch. Any third party library dependencies need to be
dynamically loaded (see how ALSA is handled for an example)

Also, this makes me nervous: g_main_context_iteration()

Any time multiple libraries start driving the GTk event loop there tend to
be problems.

On Sun, Sep 15, 2013 at 5:18 PM, Eugene Marcotte <@Eugene_Marcotte> wrote:

Hi,

I’ve got most of the bits for ibus support in the x11 driver sort of
working. See
https://bitbucket.org/emarcotte/sdl/commits/2cf6c548d7e3101d8a9592d3466740b1706f73e4

I’m not an expert on SDL internals or ibus so there may be some
glaring mistakes with how it is set up. I have been able to get the
testime program to successfully how some CJK symbols on fedora 19 when
using one of the fonts from http://fonts.jp/hanazono/.

Thanks,
Eugene


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org