RFR: 8356966: java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java fails on Linux after JDK-8350203 [v3]

Daniel Gredler dgredler at openjdk.org
Thu May 15 17:20:06 UTC 2025


> If the new test (`IgnoredWhitespaceTest`) runs on a system with Type1 physical fonts, it fails because the Type1 handling of ignorable whitespace characters does not match the behavior of the TrueType and macOS glyph mappers.
> 
> This PR updates the Type1 glyph mapper to follow the same rules in this area as the other glyph mappers.
> 
> It would probably be a good idea to consolidate all of this into the `CharToGlyphMapper` superclass at some point, so that we're not duplicating this handling across the subclasses, but some users are reporting failing builds and I wanted to keep the PR simple.

Daniel Gredler has updated the pull request incrementally with one additional commit since the last revision:

  Update bug tag in test class

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25235/files
  - new: https://git.openjdk.org/jdk/pull/25235/files/13130c4c..fe1fda57

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25235&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25235&range=01-02

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

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


More information about the client-libs-dev mailing list