On Sun, 20 Nov 2022 03:39:56 GMT, Phil Race <p...@openjdk.org> wrote:
>> This is a fix for LineBreakMeasurer. It takes into account the >> TextAttribute.TRACKING value (not eq 0) while calculating the line breaks. >> >> Tested on Linux x64, Windows x64, macOS x64 with the reproducer >> (LineBreakSample.java) attached to JDK-8165943 and the following group of >> tests: >> `$JTREG_HOME/bin/jtreg -jdk:$BUILD_HOME ./test/jdk/java/awt/font` > > I haven't had time to look at this. Maybe I can look at it some time in the > 1st week of December. Ping me then. Hi @prrace, this came to our attention as a customer issue. The reproducer we used was the one from JDK-8165943. As a reminder of the issue and an illustration of the desired outcome, here are some screen captures. Existing code, TRACKING = 0.0:  Existing code, TRACKING = 0.1:  Submitted code, TRACKING = 0.1:  ------------- PR: https://git.openjdk.org/jdk/pull/10289