The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL 2 & ibus
emarcotte


Joined: 15 Sep 2013
Posts: 2
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2 & ibus
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
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:
Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2 & ibus
emarcotte


Joined: 15 Sep 2013
Posts: 2
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,
Eugene

On Mon, Sep 16, 2013 at 12:47 AM, Sam Lantinga wrote:
Quote:
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:
Quote:

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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org