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

Wrong size of any Paper which is not a constant defined in Paper class.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8u40
    • 8u5, 8u11, 8u20
    • javafx
    • Windows, Max OS

      Example of wrong paper size: In a Set<Paper>, returned by PrinterAttributes.getSupportedPapers() method, paper named "folio" is 1734 x 2652 points, which, when divided by 72.0 gives us 24.083" x 36.833" instead of correct size 8.5" x 13.0" . To get correct size in inches we have to divide size in points by 204 dpi instead of 72 dpi. The same is true for all the Paper objects which are not constants defined in Paper class.

            prr Philip Race
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: