-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.1
-
x86
-
windows_2000
Name: dk106046 Date: 03/27/2003
Problem Description:
Text of preedit area on AWT Button is shown in very small size.
Steps to Recreate:
1. Setup Windows 2000 Professional Japanese.
2. Launch our testcase (available on request)
$ java -jar ImfUnitTest.jar single
3. Select "AWT Frame", and open TextArea and Button.
4. Set focus to the TextArea, and activate MS-IME.
by pressing HANKAKU/ZENKAKU key (or ALT+tilde if you are using English keyboard.)
5. Type 'a' on the TextArea and change focus to the Button.
(Then the preedit text on the TextArea is comitted automatically when changing focus.)
6. Type 'a' on the Button.
A preedit is shown, however, its text is extremely small. <---- PROBLEM!!
Notes:
Using TextField instead TextArea, the problem doesn't occur.
It seems to me that the problem has been happening since 140 from the following re-test result.
WinXP IA64 Jp + Sun's Java141 + IME2002 : NG
WinXP IA64 Jp + IBM's Java141(cwdev-20030115) + IME2002 : NG
WinXP IA32 Jp + Sun's Java140 + IME2002 : NG
Win2K IA32 Jp + Sun's Java140 + IME2000 : NG
Win2K IA32 Jp + IBM's Java140GM + IME2000 : NG
Win2K IA32 Jp + Sun's Java131_01 + IME2000 : OK
We can change composition font by using ImmSetCompositionFont().
This function's second arg is pointer of LOGFONT.
I check document for LOGFONT structure.
LOGFONT
lfHeight
Specifies the height, in logical units, of the font's character cell
or character. The character height value (also known as the em height)
is the character cell height value minus the internal-leading value.
The font mapper interprets the value specified in lfHeight in the following manner.
Value Meaning
0 The font mapper uses a default height value
when it searches for a match.
So I think we should specify 0 for lfHeight.
======================================================================
###@###.### 10/24/04 22:49 GMT
Problem Description:
Text of preedit area on AWT Button is shown in very small size.
Steps to Recreate:
1. Setup Windows 2000 Professional Japanese.
2. Launch our testcase (available on request)
$ java -jar ImfUnitTest.jar single
3. Select "AWT Frame", and open TextArea and Button.
4. Set focus to the TextArea, and activate MS-IME.
by pressing HANKAKU/ZENKAKU key (or ALT+tilde if you are using English keyboard.)
5. Type 'a' on the TextArea and change focus to the Button.
(Then the preedit text on the TextArea is comitted automatically when changing focus.)
6. Type 'a' on the Button.
A preedit is shown, however, its text is extremely small. <---- PROBLEM!!
Notes:
Using TextField instead TextArea, the problem doesn't occur.
It seems to me that the problem has been happening since 140 from the following re-test result.
WinXP IA64 Jp + Sun's Java141 + IME2002 : NG
WinXP IA64 Jp + IBM's Java141(cwdev-20030115) + IME2002 : NG
WinXP IA32 Jp + Sun's Java140 + IME2002 : NG
Win2K IA32 Jp + Sun's Java140 + IME2000 : NG
Win2K IA32 Jp + IBM's Java140GM + IME2000 : NG
Win2K IA32 Jp + Sun's Java131_01 + IME2000 : OK
We can change composition font by using ImmSetCompositionFont().
This function's second arg is pointer of LOGFONT.
I check document for LOGFONT structure.
LOGFONT
lfHeight
Specifies the height, in logical units, of the font's character cell
or character. The character height value (also known as the em height)
is the character cell height value minus the internal-leading value.
The font mapper interprets the value specified in lfHeight in the following manner.
Value Meaning
0 The font mapper uses a default height value
when it searches for a match.
So I think we should specify 0 for lfHeight.
======================================================================
###@###.### 10/24/04 22:49 GMT