JDK-7082809 : xrender artifacts caused by different interpretation of SRC operator
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7,8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2011-08-24
  • Updated: 2013-10-22
  • Resolved: 2013-10-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8-poolResolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
Because of the different interpretation of the SRC-operator between java2d and xrender, several artifacts appear with AlphaComposite.Src when rendering to a surface without alpha:

- Text renders glyphs with black areas where the glyph has no coverage.
- Solid operations render the premultiplied values, when a Color with alpha is used

Because of the differences, the xrender pipeline should switch to SRC_OVER in cases where possible, and fall back to software-routines otherwise.


REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION Bug 7172456 has a test case for this bug.
31-07-2012