RFR: 8342565: [TestBug] StubTextLayout [v9]
Marius Hanl
mhanl at openjdk.org
Thu Mar 6 23:35:11 UTC 2025
On Thu, 6 Mar 2025 16:21:52 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.
>
> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert "fixed bad merge"
>
> This reverts commit 0e9e8ee63895bd1d976398587add5b96958d38aa.
Nice Improvement for the tests and utilizing the existing abstraction of the layout code.
-------------
Marked as reviewed by mhanl (Committer).
PR Review: https://git.openjdk.org/jfx/pull/1667#pullrequestreview-2665852619
More information about the openjfx-dev
mailing list