skia2/modules
Florin Malita b9008539c5 [skottie] Initial text box support
AE supports two text layout modes [1]:

  * point text: text is laid out on an infinite line, starting at the given position,
    and observing explicit line breaks only; in this case the text baseline is at the
    given position.

  * paragraph (box) text: text is laid out within the given box, using line breaks to
    fit.

This CL implements the latter mode, in addition to the already supported point mode:

  - parse & plumb the text box info
  - update the text adapter logic to use SkShaper's width-constrained shaping mode
  - tangentially, fix sksg::TextBlob's bounds computation

[1] https://helpx.adobe.com/after-effects/using/creating-editing-text-layers.html

Bug: skia:8849
Change-Id: Ifdb34e39eef84d10fd75870aef785e3ee960a19c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/201387
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-03-15 14:39:17 +00:00
..
canvaskit [canvaskit] Fallback to CPU more gracefully 2019-03-14 20:25:25 +00:00
particles Particles: Store stable randoms after spawn affectors 2019-03-08 19:05:37 +00:00
pathkit [pathkit/canvaskit] Address race when uploading results 2019-03-12 21:45:04 +00:00
skottie [skottie] Initial text box support 2019-03-15 14:39:17 +00:00
sksg [skottie] Initial text box support 2019-03-15 14:39:17 +00:00
skshaper SkTypeface::openStream to return smart pointer. 2019-02-27 14:08:09 +00:00