I'm getting some unexpected behavior when I use a SRC_OVER composite with
text.

I set up a composite like so:

  comp = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, .5f);
  g2d.setComposite(comp);

and when I draw text it appears correctly (antialiased) on the canvas.
Actually I'm drawing a glyphVector, but that shouldn't matter, those are
antialiased as well.

But if I set the alpha value of the composite to 1 (fully opaque):

  comp = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1f);

I get nasty chunky text/Glyphs.

Anyone seen this before, should I report a bug?

- B!

===========================================================================
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