On Wed, 23 Mar 2022 18:24:05 GMT, Alisen Chung <ach...@openjdk.org> wrote:
>> Changed the drawing area to be increased by 0.5 on the left side to prevent >> clipping > > Alisen Chung has updated the pull request incrementally with one additional > commit since the last revision: > > scale stroke width at higher scalings It doesn't draw the border correctly when run with `-Dsun.java2d.uiScale=3`:  All the four images look identically but rendering is not as expected. On the left and the top, the shadow is 3-pixel wide, the highlight is 2-pixel wide. There's no highlight on the right and bottom side. However, there are 3 light pixels above and below the right-side shadow line, there are also 3 light pixels to the right of the bottom shadow line. It still has the same bug but at 125% now: the third border has no shadow on the left. ------------- PR: https://git.openjdk.java.net/jdk/pull/7449