commit | 14c5679374c09ab924aeee7ff236f641647e1540 | [log] [tgz] |
---|---|---|
author | Weiyu Huang <weiyuhuang@google.com> | Thu Jan 12 09:08:46 2023 -0800 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Jan 20 03:29:22 2023 +0000 |
tree | 577bf018adacde44fbf944d2997addf7b962e5dd | |
parent | 8a10a599da12aa6a4c0e7a8257e0c9126cfdc40a [diff] |
Fix line formatting when maxWidth == INF && align == kJustify && textDirection == kLtr When maxWidth == INF, TextAlign::kJustify is equivalent to TextAlign::kStart. Currently ParagraphImpl::paint doesn't paint anything when that happens. Change-Id: I7b4a22c47a46718b1df11bdfa9b3e9ed0f20dddc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/629017 Reviewed-by: Julia Lavrova <jlavrova@google.com> Commit-Queue: Julia Lavrova <jlavrova@google.com>