Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[text-spacing-trim] Add
ShapeOptions::is_line_start
When re-shaping line-start, it shouldn't take the previous character into account for `HanKerning`. This patch adds `ShapeOptions::is_line_start` to let `HanKerning` know if its start is line-start, and change callers to set the option. Bug: 1463891 Change-Id: I52e70d7e725d5d8be3838180fae11213c510cf97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5210010 Commit-Queue: Kent Tamura <tkent@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1249211}
- Loading branch information