-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
sparc
-
solaris_2.6
-
Verified
Tested with Merlin b63 on Solaris2.6, Solaris 8 sparc and Solaris8 x86,
TextLayout.getOutline() + draw can't work well in displaying Japanese characters as below;
1)TextLayout.getOutline() + draw
- Hiragana and Katakana characters are not displayed with plain, Bold, Italic, BoldItalic and antialias OFF.
- Kanji characters except JISX0212 characters are not displayed with plain font and antialias OFF.
They are displayed with Bold, Italic, BoldItalic and antialias OFF.
This problem is not reproduced with antialias ON.
2)draw(createTransformedShape(TextLayout.getOutline()))
- Hiragana and Katakana are not displayed with plain font and antialias OFF.
They are displayed with Bold, Italic, BoldItalic and antialias OFF.
- Kanji characters except JISX0212 characters are not displayed with plain font and antialias OFF.
They are displayed with Bold, Italic, BoldItalic and antialias OFF.
This phenomenont is same as TextLayout.getOutline + draw.
This problem is also not reproduced with antialias ON.
To reproduce,
1) is reproducible with Font2DTest demo under $JAVAHOME/demo/jfc/Fon2DTest/
- Excute the command;
java -jar Font2DTest.jar
- Select "Hiragana" or "Katakana" or "CJK Unified Ideographs" from Range.
- Select "TextLayout.getOutline() + draw" from Method.
Then, you can see the problem.
2) is reproducible with an attached test case, FontEffectTest2
- Extract FontEffectTest2.tar
- Compile all java source.
- Excute FontEffectTest2
- Input one of the code among 3040, 3050, 3060, 3070, 3080, 3090, 30a0, 30b0, 30c0, 30d0, 30e0, 30f0.
Then, you can see the probelm.
Pleae try to reproduce the problem following the description above.
These problems are seen from Merlin b58, not b57 or before.
As same as 4432069, this problem is not seen with antlialias ON, therefore it can be workaround.
===============================================================================
Tested with Server VM on Solaris 8 sparc using b64 :
>java -d64 -server -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b64)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta-b64, mixed mode)
The rendering quality of draw(createTransformedShape(TextLayout.getOutline())), is worse than the result above (with Client VM).
As same as using Client VM, the characters are displayed with antialias OFF/ styled font, however, the rendering quality is worse.
To reproduce, please follow the steps in 2) above.
With Antialias ON, this problem is also not reproducible.
===============================================================================
miki.tokunaga@japan 2001-05-15
- relates to
-
JDK-4432069 b58:2D:Hiragana and Katakana are not displayed with TextLayout.draw() on Solaris
-
- Closed
-