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

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8316518 javafx.print.Paper getWidth / getHeight rounds values, causing errors.
From:       Florian Kirmaier <fkirmaier () openjdk ! org>
Date:       2023-09-29 14:47:32
Message-ID: d_6c4ng4ShIowT-hQhg14380GyS75UZC6eQERCYpSGA=.6dfb9de8-1fc5-46dd-986f-f24650307eed () 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.

Relating to the wrong Paper sizes - I have this strange suspicion, that sizes were \
wrong - to get the right roundings at some point in time.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1244#issuecomment-1740938751


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

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