[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Integrated: 8316518 javafx.print.Paper getWidth / getHeight rounds values, causing errors.
From:       Florian Kirmaier <fkirmaier () openjdk ! org>
Date:       2023-11-29 16:35:25
Message-ID: iJGgTQchYMdnxvxnwWd96oCiEsA7OzSocOYV7cun-xA=.27de7be4-07c5-4787-b830-dd8ec340bc7e () github ! com
[Download RAW message or body]

On Tue, 19 Sep 2023 11:56:39 GMT, Florian Kirmaier <fkirmaier@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 <fkirmaier@openjdk.org>
Committer: Andy Goryachev <angorya@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic