On Fri, 7 May 2021 17:53:49 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> This comment is also about the case of not fetching icons of sizes smaller >> than requested size. > > Sorry, missed that in my latest fix. Indeed there is no legitimate ways to > set scaling factor to less than 100% on Windows so yes, omitting the icons > that are less than expected size. As for starting the count from the correct > index - to get the correct index we would have to traverse the array of > possible resolutions anyways so there is no performance gain. The MRI image takes care of graphics transformation which might be the same as a scale factor of the screen for the onscreen rendering, but in general, it might be set to any value by the application when rendered to the image. ------------- PR: https://git.openjdk.java.net/jdk/pull/2875