On Mon, 28 Sep 2026 15:58:42 GMT, Phil Race <[email protected]> wrote:
> > But, with DIALOG font instead of MONOSPACED, everything else remaining > > same, it passes in Windows, Linux and even macos (already mentioned here > > [#32742 > > (comment)](https://github.com/openjdk/jdk/pull/32742#issuecomment-5633538857)) > > so there will be no need of PL-ing the test then.. > > That's luck. There's a clear product bug. It should be PL'd. OK...I have reverted to use DIALOG and also PL-ed for macos > I suspect that getPixelBounds will make it pass. As I said off-line, the > union of that and the visual bounds _ought_ to cover rounding and > pixelization. If it doesn't there's another product bug to look at. Yes, just using getPixelBounds() instead of getVisualBounds() make the test pass iterating for "all" fonts in Windows locally but it still fails in Linux ubuntu 24.04, even with unioning getPixelBounds() and getVisualBounds() ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32742#discussion_r4130218440
