Integrated: 8356803: Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance
Daniel Gredler
dgredler at openjdk.org
Tue Jun 3 23:30:21 UTC 2025
On Fri, 30 May 2025 23:40:22 GMT, Daniel Gredler <dgredler at openjdk.org> wrote:
> Per discussion in JBS, adds the following chars to the list of ignorable whitespace chars: U+000B (Vertical Tab), U+000C (Form Feed), U+0085 (Next Line), U+2028 (Line Separator), U+2029 (Paragraph Separator).
>
> Adds the necessary testing in pre-existing automated test class `test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java`.
>
> Removes now-unnecessary manual test `test/jdk/java/awt/font/TextLayout/TestControls.java`.
>
> The `test/jdk/java/awt/font`, `test/jdk/java/awt/print` and `test/jdk/java/awt/Graphics2D/DrawString` tests all pass for me locally on Windows, Linux and macOS.
This pull request has now been integrated.
Changeset: 93975357
Author: Daniel Gredler <dgredler at openjdk.org>
Committer: Harshitha Onkar <honkar at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/939753579b80d2910c78d8bbb1c97bd56afa21ba
Stats: 215 lines in 3 files changed: 40 ins; 161 del; 14 mod
8356803: Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance
8356812: Create an automated version of TextLayout/TestControls
Reviewed-by: prr, honkar
-------------
PR: https://git.openjdk.org/jdk/pull/25560
More information about the client-libs-dev
mailing list