forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix apply styles with range to support graphemes
This CL is adding support for graphemes with the RenderText styles. The range of a style needs to be enlarge to the whole grapheme. Otherwise, we can get cases where an emoji or a ligature can be split apart during the ItemizeText(...) phase. Bug: 1020841 Change-Id: I8e6e49c5d6250a907d8d4ed5a13dc8b16421592e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903948 Commit-Queue: Etienne Bergeron <[email protected]> Reviewed-by: Alexei Svitkine <[email protected]> Reviewed-by: Robert Liao <[email protected]> Cr-Commit-Position: refs/heads/master@{#714051}
- Loading branch information
Showing
3 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters