RFR: 8342565: [TestBug] StubTextLayout [v7]

Andy Goryachev angorya at openjdk.org
Thu Mar 6 15:51:16 UTC 2025


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 26 additional commits since the last revision:

 - review comments
 - Merge remote-tracking branch 'origin/master' into 8342565.stub.text.layout
 - Merge remote-tracking branch 'origin/master' into 8342565.stub.text.layout
 - Merge remote-tracking branch 'origin/master' into 8342565.stub.text.layout
 - Merge remote-tracking branch 'origin/master' into 8342565.stub.text.layout
 - review comments
 - Merge remote-tracking branch 'origin/master' into 8342565.stub.text.layout
 - atomic boolean
 - Merge branch 'master' into 8342565.stub.text.layout
 - cleanup
 - ... and 16 more: https://git.openjdk.org/jfx/compare/95ec7f55...1c4e5a80

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1667/files
  - new: https://git.openjdk.org/jfx/pull/1667/files/3650989a..1c4e5a80

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1667&range=06
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1667&range=05-06

  Stats: 715 lines in 22 files changed: 553 ins; 102 del; 60 mod
  Patch: https://git.openjdk.org/jfx/pull/1667.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1667/head:pull/1667

PR: https://git.openjdk.org/jfx/pull/1667


More information about the openjfx-dev mailing list