Use ICU to measure string length to get correct underlining.
This means that words with accents get the correct length of underlining. Before this fix autocorrect "francais " to "français " would have an underline on the space after the word which this fixes. Bug: b/176562554 Change-Id: Ic05a46ee351bbd9159b6c197cd3f02f3b3d3a7e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612290 Commit-Queue: John Palmer <jopalmer@chromium.org> Reviewed-by:Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#843849}
Showing
Please register or sign in to comment