I had Japanse in my list of "Preferred Languages" in the Language & Region system settings on Big Sur, and this causes a subset of layout tests to fail, including: fast/ruby/ruby-justification.html fast/text/backslash-to-yen-sign-euc.html and tests with "ideograph" in the name. We need to fix WTR to make tests pass independently of system language settings.
I can reproduce this.
Fixing DRT would be super difficult (bordering on "impossible") here. Fixing WKTR is probably not very difficult. We already have infrastructure for mocking the system font. We probably should just always enable that infrastructure.
Created attachment 439946 [details] Patch
Committed r283468 (242445@main): <https://commits.webkit.org/242445@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439946 [details].
<rdar://problem/83815251>