merge_pr_49796
Ruby: Fix annotation overhang overlap
If the width of a text item between overhanging ruby columns was shorter
than total overhang amount from both ruby columns, ruby annotations were
overlapped.
To avoid this issue, we limit available size for overhang to a half
of the text item width.
Fixed: 329776386
Change-Id: I1d2724fcf288e951f59de7fbd4a2ffba1223e052
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6108639
Reviewed-by: Koji Ishii kojii@chromium.org
Auto-Submit: Kent Tamura tkent@chromium.org
Commit-Queue: Koji Ishii kojii@chromium.org
Cr-Commit-Position: refs/heads/main@{#1399053}