On Mon, 28 Sep 2026 21:39:07 GMT, Marius Hanl <[email protected]> wrote:

> As noted in https://github.com/openjdk/jfx/pull/2326 by @lukostyra and 
> @andy-goryachev-oracle, the same floating point  error might be in other 
> locations as well.
> 
> I found the very same problem in `ArcTo`.
> In the ticket, I wrote a reproducer that tests different values.
> 
> `x = 3, y = 19` is not rendering.
> | Before | After |
> | - | - |
> | <img width="1642" height="830" alt="image" 
> src="https://github.com/user-attachments/assets/23738318-5d3b-486c-93dd-48ffda6e4abd";
>  /> | <img width="1642" height="830" alt="image" 
> src="https://github.com/user-attachments/assets/533c4ba1-c5a5-4267-b6f5-05eb1be793c5";
>  /> |
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 416528be
Author:    Marius Hanl <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/416528be37c382d4167129faf49e300dd2f1c4c5
Stats:     19 lines in 2 files changed: 14 ins; 2 del; 3 mod

8393157: Valid ArcTo may not render due to floating point error

Reviewed-by: lkostyra, angorya

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

PR: https://git.openjdk.org/jfx/pull/2332

Reply via email to