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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: