Fix some issues with the new SkParagraphBuilder::buildWithClientInfo
* Convert all client-provided indices from UTF-16 to UTF-8.
* Handle the reversed LTR/RTL values correctly.
* Accept a single array for line breaks instead of separate arrays for soft and hard breaks.
* Adjust example in extra.html.
* Add new example paragraphs.html.
* Update tests.
Change-Id: Ie172b4b74ea6edcedd5175761b796a37daa02976
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/578716
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
10 files changed