July 01, 2005
Implement IME attributes color to Gecko
Here is a current rendering on 1.8b2 on win32 build. (Japanese text means "Today is nice")
I don't know why underline is red on non-convert mode and style of convertion is reverted. (Maybe, this reason is into Frank/Bob's brain:-<).
Although Text rendering is into layout/generic/nsTextFrame.cpp, curernt implementation only decorates underline and revert for IME strings. So we must add each color settings to selection object. And custom color must get LookAndFeel service because this color depends on platform/IME.
Also, we excepted GTK+ platform from this behaivouir. Becasue AIX has some compatibility problems into XIM (see bug #195944). This code has some logical problem as long as I reference http://sanchi.appi.keio.ac.jp/~syl/Imserver/feedback-impl.html (Japanese). If I replace current XIM code with immodule code, I must fix this.
Here is new style with ATOK17. This is cool!
Also, on MS-IME2002
MS-IME2000/2002 has a bug that it returns that underline style is solid and dotted only. In other word, we cannot get thick style...
For Mac users, I cannot find true ways to get custom color each IME such as Kotoeri. But we can customaize color using prefs.js. If you want it, modify prefs.js. Of cource, prefs.js settins is enabled on Windows.
Patch will be ported to bugzilla. Please check my bug link.
Trackback URL: http://www.mozilla-x86-64.com/mt/mt-tb.cgi/57