Red Hat Bugzilla – Bug 208921
Underline isn't rendered at the proper place
Last modified: 2007-11-30 17:11:44 EST
+++ This bug was initially created as a clone of Bug #206397 +++
Description of problem:
When you type the Hangul, underline appears in preedit. However it doesn't
appear at the bottom of the letter but 5~10% up from the bottom where I expected
it to appear.
For Hangul, underline in preedit interferes with input since it is one letter
at a time. Indeed Windows(ime2002) doesn't use underline for Hangul either.
Steps to Reproduce:
1. run gedit and increase the font size
2. activate the scim-hangul
3. type"rnr" <--"극"
Preedit has underline towards bottom of preedit which is confusing.
No underline for Hangul.
-- Additional comment from firstname.lastname@example.org on 2006-09-14 01:51 EST --
Well, appearing the underline isn't a bug since scim-hangul uses the preedit.
however rendering it at a character 5~10% upper looks like a Pango or freetype
bug, or font perhaps. reassigning to pango for now.
-- Additional comment from email@example.com on 2006-09-14 11:36 EST --
Attach screenshots please if you can. And which font is it? I probably can
reproduce using the font only.
-- Additional comment from firstname.lastname@example.org on 2006-09-14 20:10 EST --
Sorry I can't make screenshots because of pre-editing state.
It is default korean font(Baekmuk), and it is included on FC and RHEL as well
-- Additional comment from email@example.com on 2006-09-15 07:46 EST --
Created an attachment (id=136345)
Typing hangul with scim-hangul, Preedit with Underline on gedit.
This problem doesn't happen in nabi or imhangul.
nabi and imhangul are hangul input method.
-- Additional comment from firstname.lastname@example.org on 2006-09-19 02:08 EST --
Created an attachment (id=136604)
preedit of scim-hangul on openoffice writer
The same problem happens on openoffice writer.
So this problem isn't pango bug and scim bug.
-- Additional comment from email@example.com on 2006-09-19 02:16 EST --
So this problem isn't pango bug but scim bug, maybe.
-- Additional comment from firstname.lastname@example.org on 2006-09-19 02:54 EST --
Patch (Default underline preedit attributes is not appropriate) :
-- Additional comment from email@example.com on 2006-09-19 22:30 EST --
The Main problem is SCIM, becuase Hangul doesn't need a underline.
I discussed with sangu and krisna. krisna said that GTK2 and XIM is using
Underline from SCIM, and he said Hangul doesn't need it.
However, Underline should be fixed in Pango as well.
-- Additional comment from firstname.lastname@example.org on 2006-09-19 23:00 EST --
See Also : another underline problem in pango - bug 204016
-- Additional comment from email@example.com on 2006-09-29 12:03 EST --
A patch related to this for gtkimm has been committed upstream:
[Scim-cvs] scim/extras/gtk2_immodule gtkimcontextscim.cpp, 184.108.40.206, 220.127.116.11
-- Additional comment from firstname.lastname@example.org on 2006-10-02 12:57 EST --
This should be fixed now for the scim gtkimm and xim in scim-1.4.4-35.fc6
with patches from upstream cvs. I will open another bug for scim-bridge.
Thanks to Dairiki-san, this seems to be fixed in current scim-bridge cvs too.
This should be fixed in the next devel build.
scim-bridge-0.4.7-1.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.