Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r224015 - REGRESSION(r222090): [HarfBuzz] Arabic shaping is bro…
…ken except for first word in line https://bugs.webkit.org/show_bug.cgi?id=178625 Reviewed by Michael Catanzaro. Source/WebCore: Once we find the first space, which has the COMMON script, we split the run, and the next ones keep using COMMON instead of ARABIC because we don't update the current script on every loop iteration. This patch simplifies the script handling by moving the code back to the loop and always breaking in case of different scripts, correctly handling INHERITED and COMMON cases and updating the current script when needed. Covered by existing tests. This improves several tests that have been rebaselined. * platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp: (WebCore::findNextRun): (WebCore::scriptsAreCompatibleForCharacters): Deleted.
- Loading branch information
1 parent
ed73956
commit 045b100
Showing
2 changed files
with
40 additions
and
33 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