On Sat, 25 Dec 2021 17:38:49 GMT, Aleksandr Veselov <d...@openjdk.java.net> 
wrote:

>> Perform scaling while converting sizes and coordinates to provide correct 
>> positions of accessible elements on HiDPI screen and make hit-test work 
>> properly. It uses FontRenderContext to receive display scale without API 
>> changes.
>
> Aleksandr Veselov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Pick graphics configuration from env instead of using FRC

Hi, @mrserb, thanks for the review. Your idea is awesome and I've tried to 
implement it. It contains some copied code from `sun.java2d` but I can't import 
necessary methods without adding it to dependencies. 

But the issue with different scale factors on multi-display configuration is 
still present, frame size scaling seems to be stuck at primary display's scale 
factor. `jaccesibilityinspector` shows correctly scaled bounds, may it be an 
issue with NVDA?

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

PR: https://git.openjdk.java.net/jdk18/pull/72

Reply via email to