Hi All,

Please review a fix for a problem where Antialiased font drawn on a translucent bufferedimage creates artifacts.

Bug: https://bugs.openjdk.java.net/browse/JDK-8040689
webrev: http://cr.openjdk.java.net/~psadhukhan/8040689/webrev.00/

Antialiased font rendering was done via software loops whose blending maths do not handle AA glyphs on translucent destinations correctly. Since modifying the loop will have impact on other things and since it seems intention was to handle AA font on opaque destination from the comment
on AATextRenderer.java
//**//
// * A delegate pipe of SG2D for drawing anti-aliased text with//
// * a solid source colour to an opaque destination.//
// *///
//public class AATextRenderer extends GlyphListLoopPipe

/I have modified//the code to use other text pipeline like XRender in linux or D3D in windows to handle AA font for translucent destinations.

Regards
Prasanta

Reply via email to