taewan-kim / libhangul

Automatically exported from code.google.com/p/libhangul
0 stars 0 forks source link

libhangul IME fails for (ㄱ+ㅣ+ 2 times ㄱ) #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Press the above items.
2. Tried in libhangul as "rlrr"
3.

What is the expected output? What do you see instead?
https://www.branah.com/korean
Expected ouput as per this site is "긱ㄱ"

Output seen from Libhangul is : 긲

What version of the product are you using? On what operating system?
libhagul-0.1.0

Please provide any additional information below.

Original issue reported on code.google.com by suneel....@gmail.com on 2 Jul 2015 at 11:27

GoogleCodeExporter commented 8 years ago
Hi Choe,

Is this a known limitation with libhangul.
I checked this today in iPhone, even there it is working fine.

Is there anything I can try in the code to help in solving this ?

Original comment by suneel....@gmail.com on 7 Jul 2015 at 8:24

GoogleCodeExporter commented 8 years ago
It's a feature.
But if you want libhangul to work like other korean IME, then you have to use 
hangul_ic_connect_callback() function.
You have to filter out 'ㄱ + ㄱ -> ㄲ' rule in on_transition function.

See this sample code:
https://github.com/choehwanjin/ibus-hangul/blob/master/src/engine.c#L414
This is not the for the feature that you've said, but you may get a clue for it.

Original comment by choe.hwanjin@gmail.com on 7 Jul 2015 at 9:35