RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor [v8]

lukeu duke at openjdk.java.net
Mon Apr 11 22:49:40 UTC 2022


On Thu, 7 Apr 2022 20:24:29 GMT, Alisen Chung <achung at 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:
> 
>   fixed 1.25 scaling overdraw, fixed calcs for right and bottom side borders

Printing, looks good. (Well, ignoring the missing checkboxes! I assume that's a separate thing.)
![JDK-8279614-patch4-printed-cropped](https://user-images.githubusercontent.com/2722420/162843419-6f84983b-71e3-4e53-ad99-5a1808456499.png)

You're going to hate me (I'm sorry!) but I spotted that at 225% and 350% scaling the bottom shadow line can sometime overhang by 1px. (Not that you can really spot it without zooming / looking specifically for it, mind you.)
![JDK-8279614-patch4-scaling_225-zoomed](https://user-images.githubusercontent.com/2722420/162843428-f8fb47f5-9056-4c10-bb16-2d5034fbd104.png)

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

PR: https://git.openjdk.java.net/jdk/pull/7449



More information about the client-libs-dev mailing list