b9008539c5
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> |
||
---|---|---|
.. | ||
canvaskit | ||
particles | ||
pathkit | ||
skottie | ||
sksg | ||
skshaper |