[OpenJDK 2D-Dev] RFR: [9] JDK-8040689 Fonts antialiasing artifacts appear when using translucent composited images
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Fri Sep 18 10:27:22 UTC 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20150918/90a2386e/attachment.html>
More information about the 2d-dev
mailing list