Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7082809

xrender artifacts caused by different interpretation of SRC operator

XMLWordPrintable

    • 2d
    • x86
    • linux

      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.

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: