Make NGInlineNodeEditor to produce proper NGInlineItem and ShapeResult
This patch changes |NGInlineNodeEditor| to produce |NGInlineItem| with |ShapeResult| having same start and end offset for valid text painting. Before this patch, we see wrong painting, e.g. "AxXX" instead of "AxVX" when insert "x" before "X" of "AVX". This is cause by kerning between "A" and "V". Bug: 1121885 Change-Id: I8242356ef6b865f2ad8b2e47de62d3200286e3f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391701 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#804257}
Showing
Please register or sign in to comment