RFR: 8356803: Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance
duke
duke at openjdk.org
Tue Jun 3 23:05:15 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.
@gredler
Your change (at version 0b91df644ef6d3d40fdd11649ec4e9eda83db197) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25560#issuecomment-2937648203
More information about the client-libs-dev
mailing list