RFR: 8316518 javafx.print.Paper getWidth / getHeight rounds values, causing errors.
Florian Kirmaier
fkirmaier at openjdk.org
Tue Sep 19 12:03:08 UTC 2023
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.
-------------
Commit messages:
- JDK-8316518
Changes: https://git.openjdk.org/jfx/pull/1244/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1244&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316518
Stats: 10 lines in 2 files changed: 1 ins; 0 del; 9 mod
Patch: https://git.openjdk.org/jfx/pull/1244.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1244/head:pull/1244
PR: https://git.openjdk.org/jfx/pull/1244
More information about the openjfx-dev
mailing list