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

Need to re-evaluate the BND constants set in the Pisces rasterizer for non AA shapes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u40
    • 8u40
    • javafx
    • None

      We need to re-evaluate the BND constants, in Renderer.java, to improve the smoothness of non AA shape once RT-39424 is fixed.

      Currently I have to tune the BND constants, in Renderer.java, to reduce the noisy jaggies. But it could simply an issue of RT-39424.

      BND constants changed from
          private static final float DEC_BND = 20f;
          private static final float INC_BND = 8f;

      to
          private static final float DEC_BND = 5f;
          private static final float INC_BND = 2f;

      We might want to revert this back once we have a more accurate center pixel sampling.
      Note: Similar is also made in the native Renderer.h for native Pisces implementation.

            flar Jim Graham
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: