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

REGRESSION: Clipped image is seen drifted from original text for some image type

    XMLWordPrintable

Details

    • 2d
    • b22
    • generic
    • generic
    • Verified

    Backports

      Description

        In Java2D Demo, the clipped image based on outline of text is seen,
        drifted from original text location for INT_RGBx and USHORT_555x_RGB image type.
        Attached here with is the screen shot of the same. Fails in all platforms.

        How to reproduce the bug :
        --------------------------
        1) Run Java2D Demo
        2) Click on "Clipping" Tab
        3) Select "demos.Clipping.Areas" tab
        4) Select "Image" from the clip selection
        5) From "Global Controls" check "Rendering Quality"
        6) Select Image Type as INT_RGBx or USHORT_555x_RGB
        7) The clipped image and text layout will be at different positions

        The same behaviour can be reproduced by selecting "AlphaComposite"
        from "Global Controls" as well. The above failiures are noted for
        clipping of image alone. This works fine for Lines, TP, GP, Text.

        Java version :
        --------------
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)

        Attachments

          Issue Links

            Activity

              People

                flar Jim Graham
                rmenonsunw Rakesh Menon (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: