RFR: 8342565: [TestBug] StubTextLayout

Kevin Rushforth kcr at openjdk.org
Mon Jan 27 22:25:52 UTC 2025


On Fri, 20 Dec 2024 22:23:11 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Changed the StubTextLayout to use product PrismTextLayout with much simplified glyph layout (via stubbed fonts).  The new layout assumes all the glyphs are squares of font size, while the bold type face produces wider glyphs (by 1 pixel).  The default font size has changed from 10 to 12 to make it closer to win/linux.
> 
> This brings the test environment closer to the product configuration and expands the capabilities of our headless testing pipeline, which will be useful for upcoming behavior tests.
> 
> Existing tests have been adjusted/reworked mainly due to default font size change.

Since this touches product code (in a minor way), I'd like two reviewers.

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

PR Comment: https://git.openjdk.org/jfx/pull/1667#issuecomment-2617022602


More information about the openjfx-dev mailing list