RFR: 8350203: [macos] Newlines and tabs are not ignored when drawing text to a Graphics2D object [v3]

Harshitha Onkar honkar at openjdk.org
Mon May 12 20:57:57 UTC 2025


On Mon, 12 May 2025 19:38:34 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> I also submitted [JDK-8356812](https://bugs.openjdk.org/browse/JDK-8356812): *Create an automated version of TextLayout/TestControls*.
>> 
>> Verifying that the widths of all control characters is zero can be automated; the manual version can exist along-side to ensure all the characters are rendered as expected.
>
> @aivanov-jdk Thanks for testing on older versions of JDK. I'm checking if this issue was caused by  harfbuzz upgrade or recent code changes to JDK.

The above issue is replicable after jdk25+b10 and was introduced by changeset related to **[JDK-8208377](https://bugs.openjdk.org/browse/JDK-8208377) - Soft hyphens render if not using TextLayout** , https://github.com/openjdk/jdk/pull/22670

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23665#discussion_r2085473996


More information about the client-libs-dev mailing list