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

javafx.print.Paper getWidth / getHeight rounds values, causing errors.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx22
    • jfx21
    • javafx
    • None
    • b20

      The Method javafx.print.getWidth and getHeight returns a double of points.
      But the values are always rounded to full integers. This causes especially problems,
      with mm based Papers.

      I asked in the mailing list, with the conclusion (me and John Hendrix) that is best to just fix this behavior by removing the rounding.

            fkirmaier Florian Kirmaier
            fkirmaier Florian Kirmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: