[jdk20u] RFR: 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

Jonathan Dowland jdowland at openjdk.org
Thu May 18 14:54:12 UTC 2023


This is a clean backport of 8304350 for jdk20u. Using the reproducers in the original bug report, I have verified that a) jdk20u is affected, and b) this patch resolves the bug in 20u.

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

Commit messages:
 - 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

Changes: https://git.openjdk.org/jdk20u/pull/81/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20u&pr=81&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304350
  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk20u/pull/81.diff
  Fetch: git fetch https://git.openjdk.org/jdk20u.git pull/81/head:pull/81

PR: https://git.openjdk.org/jdk20u/pull/81


More information about the jdk-updates-dev mailing list