On Mon, 22 Sep 2025 19:46:37 GMT, Sergey Bylokhov <[email protected]> wrote:
> > > why on WIndows/Linux we set "-Dsun.java2d.uiScale=1" option and on mac we > > > do not? > > > > > > I'd have used uiScale=1 everywhere, but I actually observed a few rounding > > errors on retina if I used uiScale = 1 . Letting uiScale be whatever is the > > default has so far worked on all Mac cases. > > If it works mostly fine on macos then why it is needed on win/lin? Because fractional scaling on Windows causes problems too. And Linux we don't scale unless it is 2X and I don't have anything to test that so playing it safe. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27399#issuecomment-3324987531
