-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
generic, sparc
-
generic, solaris_9
-
Verified
I am trying to render an AttributedString using AttributedCharacterIterator and a TextLayout. When i set the the rendering hint to KEY_ANTIALIASING, VALUE_ANTIALIAS_ON the text represented by the AttributedString is rendered on the top left corner of the frame, behind the Title bar and only a little portion of the text is seen.
This is not the case when the Antialiasing is off where the text gets rendered in the expected location. This is reproducible in windows as well as Solaris and the details of the build is given below:
java version "2d-merlin64-06-May-03.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-merlin64-06-May-03.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b05, mixed mode)
I tested this with WinXP and Solaris 8.
This is not reproducible in JDK1.5.0-b05 and JDK1.4.2-b22.
How to reproduce:
I have attached a sample code which would reproduce this. Run the sample code and you would see the text being rendered behind the Title bar. Comment out the antialias code and re run the application. You would notice that the text being rendered properly at the expected location.
This is not the case when the Antialiasing is off where the text gets rendered in the expected location. This is reproducible in windows as well as Solaris and the details of the build is given below:
java version "2d-merlin64-06-May-03.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-merlin64-06-May-03.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b05, mixed mode)
I tested this with WinXP and Solaris 8.
This is not reproducible in JDK1.5.0-b05 and JDK1.4.2-b22.
How to reproduce:
I have attached a sample code which would reproduce this. Run the sample code and you would see the text being rendered behind the Title bar. Comment out the antialias code and re run the application. You would notice that the text being rendered properly at the expected location.
- duplicates
-
JDK-4860085 PIT: Japanese text do not display in textlayout tests
- Closed
-
JDK-4860266 PIT: Text is not rendered at the expected location when AlphaComposite is set.
- Closed