On Tue, 19 Sep 2023 11:56:39 GMT, Florian Kirmaier <fkirma...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: d65d8a65 Author: Florian Kirmaier <fkirma...@openjdk.org> Committer: Andy Goryachev <ango...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/d65d8a65414b96ca475d0914b6533cd6e0192984 Stats: 13 lines in 2 files changed: 1 ins; 1 del; 11 mod 8316518: javafx.print.Paper getWidth / getHeight rounds values, causing errors. Reviewed-by: mstrauss, angorya, jhendrikx, prr ------------- PR: https://git.openjdk.org/jfx/pull/1244