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

Investigate possibility to reduce edge artifacts on HiDPI screens with fractional scales.

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Introduced In Version:
      9

      Description

      After JDK-8073320 HiDPI painting is supported by Java2D.
      To draw in arbitrary scaled images the floating point coordinates are used now but they are digitized to find real drawn bounds in pixels. To round the coordinates to the particular pixel index the Math.ceil() method is used which may inflate or shift the painted area in pixels and cause various edge artifacts.
      See JDK-8187367 for example.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                ssadetsky Semyon Sadetsky (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: