Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Custom RTL handling for ghost runs, NotoNaskhArabic test font #8683

Merged
merged 11 commits into from
Apr 22, 2019

Conversation

GaryQian
Copy link
Contributor

Reland attempt for #8638

Previous commit didn't handle auto-merge of tests correctly.

Fixes flutter/flutter#21679

Here, we track the TextDirection used for the styled run, and apply the most recent to ghost runs. This needs to be done because ICU interprets all non-language-specific (eg, normal space character) as LTR, which causes the space to be on the right side of the text in RTL languages. We handle this case manually and flip it to the opposite side.

Copy link
Contributor

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GaryQian GaryQian merged commit ea28bfa into flutter:master Apr 22, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Apr 22, 2019
flutter/engine@206cab6...ea28bfa

git log 206cab6..ea28bfa --no-merges --oneline
ea28bfa Custom RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8683)
1c9457c Revert "Only allow mappings for ICU initialization. (#8656)" (flutter/engine#8682)
b4ed303 Revert "RTL handling for ghost runs, NotoNaskhArabic test font (#8638)" (flutter/engine#8681)
8b5f776 Remove support for downloading dynamic patches. (flutter/engine#8663)
1bcb96b Add framework test in engine presubmit checks (flutter/engine#8664)
6e79dcd RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8638)
c37d459 Roll src/third_party/skia 1c0b05afdef8..a76fad2d494a (4 commits) (flutter/engine#8665)
2e4f0a4 Put the testing lib in the flutter namespace. (flutter/engine#8661)
1239df9 Allow native bindings in secondary isolates. (flutter/engine#8658)
b0cbce4 Replace ThreadLocal with ThreadLocalUniquePtr<T> (flutter/engine#8659)
bd8c5b1 Only allow mappings for ICU initialization. (flutter/engine#8656)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TextField cursor is misplaced when regain focus & textAlign is end, right, or center
4 participants