RFR: 8165943: LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set. [v5]

Olga Mikhaltsova omikhaltcova at openjdk.org
Wed Dec 7 16:04:07 UTC 2022


> 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`

Olga Mikhaltsova has updated the pull request incrementally with one additional commit since the last revision:

  Replaced BitstreamCyberbit with Dialog

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10289/files
  - new: https://git.openjdk.org/jdk/pull/10289/files/c136384f..b0d44ce0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10289&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10289&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10289.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10289/head:pull/10289

PR: https://git.openjdk.org/jdk/pull/10289



More information about the client-libs-dev mailing list