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

LCD subpixel text doesn't work on Java 2D [fallback] pipeline due to alpha in surface format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: fx2.1
    • Fix Version/s: 7-pool
    • Component/s: javafx
    • Labels:
      None

      Description

      The surface type used for the 2D pipeline is ARGB, and any surface that has alpha
      is considered by the Java 2D implementation in JDK to be inappropriate for LCD text.
      This is similar in cause to RT-18901 : LCD Subpixel text doesn't work on transparent/shaped windows
      but that affects the prism h/w pipeline and only windows set to be transparent.
      By contrast the internal surface type we create for Java 2D rendering always has alpha.
      I am not sure if we can change the internal surface format we use but it may be more
      tractable than the alternatives which aren't all that clear ..

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: