On Mon, 10 Mar 2025 18:46:29 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> Also on Windows, when the button do appear, their size seems to differ from 
> the native:

I've counted the pixels for different scaling factors, and the sizes of the 
glyphs are generally within 1px of each other (native vs. JFX). What seems to 
be happening is a combination of pixel snapping, and a different rasterizer (in 
this specific case, JFX seems to bias the inner edge, whereas Windows seems to 
bias the outer edge).

(top is JFX, bottom is native)
<img 
src="https://github.com/user-attachments/assets/2d838e2f-c5b3-4df4-919b-3ec5cd767446";
 width=400/>

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

PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2716677645

Reply via email to