RFR: JDK-8314215 Trailing Spaces before Line Breaks Affect the Center Alignment of Text [v14]

Kevin Rushforth kcr at openjdk.org
Sat Feb 10 14:43:04 UTC 2024


On Sat, 10 Feb 2024 03:58:24 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> > And on Linux I get similar failures to my Windows system due to no Monaco font.
> 
> Was the Tahoma font available there (you can see from the `TextLayoutTest > fail()` test) ?

It doesn't look like it:


org.opentest4j.AssertionFailedError: Check if this system test actually runs on the build environment;
font loaded was [System Regular, System, Regular, System Regular, 12.0]
and [System Regular, System, Regular, System Regular, 12.0]
==> expected: <true> but was: <false>


> ...searching around the web, I get the impression that the fonts "Arial", "Verdana" and "Times New Roman" may be present on all three platforms.

That might make sense. Whichever font you do choose, you will want to add an Assumption to check for its existence and skip the tests if not found.

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

PR Comment: https://git.openjdk.org/jfx/pull/1236#issuecomment-1937022815


More information about the openjfx-dev mailing list