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. I'm also open to making the original width/height and unit accessible. I think, the UI which displays the size, must do the rounding itself. But it's important that these values are correct because they are. used to layout the Content, which should be rendered. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1244#issuecomment-1735041109