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, 1124805 Change-Id: If51bd6ed688e909911b55324515cb1ac23d2cb32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397989 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#804928}
Showing
Please register or sign in to comment