Jump to content

  • Log In with Google      Sign In   
  • Create Account


International text input SDL2


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 polyfrag   Crossbones+   -  Reputation: 1825

Like
0Likes
Like

Posted 19 June 2014 - 03:15 AM

I use a program called Softario Typus to phonetically transiliterate text into Russian. 

typus.jpg 

Usually, when I type z аnd then h into a native text field, I see з and then it dissappears and a ж appears in its place. 

But in my SDL2 program I get everything indiscriminately. I get the resulting text зж. First is unicode #1079 then #1078 in SDL_TEXTINPUT. But SDL_TEXTEDITING doesn't get sent at all or just once in the very beginning. 

How does Typus work with the system and how can I make it work with SDL2? 

I also have some questions about inputting KCJ text.



Sponsor:

#2 Bregma   Crossbones+   -  Reputation: 5017

Like
0Likes
Like

Posted 19 June 2014 - 05:31 AM

It's probably that the input layer between SDL and the OS runtime does not have the proper hooks for IM support, or else that particular IM does not use the hooks in exactly the right way.

Turns out IM support is rather difficult to get right and usually requires full and complete cooperation between the OS, the display manager, the application or toolkit, and the IM itself. There are a lot of possible points of failure.  Someone probably messed up.


Edited by Bregma, 19 June 2014 - 05:32 AM.

Stephen M. Webb
Professional Free Software Developer




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS