[OpenJDK 2D-Dev] RFR:  JDK-8040689 Fonts antialiasing artifacts appear when using translucent composited images
prasanta.sadhukhan at oracle.com
Fri Sep 18 10:27:22 UTC 2015
Please review a fix for a problem where Antialiased font drawn on a
translucent bufferedimage creates artifacts.
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
// * 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev