RFR: JDK-8294427 - Check boxes and radio buttons have rendering issues on Windows in High DPI env [v2]
Rajat Mahajan
rmahajan at openjdk.org
Mon May 15 22:09:47 UTC 2023
On Mon, 15 May 2023 21:53:58 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> With clipRound this is what I see with 150% Scaling:
>>
>> 
>>
>> With the current code change this is what I see with 150% Scaling:
>>
>> 
>>
>> I see it scaled down with clipRound.
>> I think this because of the calculation difference I mentioned above, as this is very sensitive and even 1pixel here or there can cause rendering issues.
>
> From the picture above it does not seem that the difference is just 1 pixel, no?
Actually I literally didn't mean 1 physical pixel, it was more figurative to say that when the width calculation on Java side is reduced by 1 we see a big difference in final scaling.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13701#discussion_r1194409519
More information about the client-libs-dev
mailing list