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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9, 10
    • client-libs
    • None
    • 2d
    • 9

      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.

            prr Philip Race
            ssadetsky Semyon Sadetsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: