[LayoutNG] Implement glyph bounding box to ShapeResult::CopyRange()
For LayoutNG inline to compute visual overflow, ShapingLineBreaker needs to compute glyph bounding box. This is currently set to empty. To implement: 1. ShapeResult::CopyRange() should copy adjusted glyph bounding box when copying start/end edge of the source. 2. When start/end is safe-to-break, ShapingLineBreaker subsets ShapeResult, but unable to compute glyph bounding box. This patch implements #1. How to solve #2 is to be discussed. BUG=636993 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ic239c8531bb2e5f09e2e80d7ea7e0e25c6aaa847 Reviewed-on: https://chromium-review.googlesource.com/574508 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#487410}
Showing
Please register or sign in to comment