On Thu, 15 Sep 2022 16:51:27 GMT, Olga Mikhaltsova <omikhaltc...@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` Change looks okay to me. Verified the fix locally and line break works properly with tracking now. Attached image with tracking 0.1 before and after fix. Before fix :  After fix :  Also client test run in our CI with this fix is green. Let's wait for Phil's review also. Its better if we can add jtreg(regression) test along with fix. It can be a manual test, if we can't automate it. ------------- PR: https://git.openjdk.org/jdk/pull/10289