It is completely cross-platform.
Looks like a case where I forgot to ask that the text pipes be re-validated.
I think it may be as little as a one line fix for setComposite to set a
flag that some font rendering settings need to be re-validated.
I see Igor filed bug 6576507 for your test.

Its probable that there's a workaround of setting some other hint
at the same time that will tickle the re-validation.

-phil

[EMAIL PROTECTED] wrote:
Okay, now that's just weird. :|  Garbling happens under WinXP as well.

It seems to be related to LCD text settings.  For as far as my limited testing 
took me, enabling ClearType will garble the second line.  As soon as it is 
enabled/disabled (no need to reload/recompile), the second line changes.

Did some further testing: could it be that the wrong pixels are taking for 
AlphaComposite?  I have the impression that the pixels drawn onto the screen are really 
just "test" but with each pixel repeated three times:

[code]
+++++++
+  x  +
+xxxxx+
+  x  +
+  x  +
+  x  +
+   xx+
+++++++

 ==>

+++++++
+     +
+ xxx +
+     +
+xxxxx+
+xxxxx+
+xxxxx+
+     +
+++++++
[/code]

Changing the LCD orientation (horizontal to vertical) also changes the pixel's positions, but they 
seem to have correct horizontal spacing, hence.  In the horizontal case, if we could 
"just" take each third pixel, we'd get "test" back, I believe.
[Message sent by forum member 'tarbo' (tarbo)]

http://forums.java.net/jive/thread.jspa?messageID=225069

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to