skia2/modules
Florin Malita 512ff75a0b [svg] Initial <tspan> support
Introduce classes to support text node nesting:

  - TextContainer -- base class for nestable text containers
    (<text>, <tspan> etc)
  - TextLiteral -- actual text string/payload

Example structure mapping:

  <text>Foo<tspan>Bar</tspan>Baz</text>

  TextContainer[text]
    TextLiteral["Foo"]
    TextContainer[tspan]
      TextLiteral["Bar"]
    TextLiteral["Baz"]

Also add text layout state (SkSVGTextContenxt) to SkSVGRenderContext.
This will be used to track layout across a text subtree.

For now we don't touch rendering, so the output is quite garbled for
non-trivial text (no advance propagation -> things draw on top of each
other).

Bug: skia:10840
Change-Id: Ic6d3990ec8635b586f5d3d226be070fbf134e391
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341236
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Tyler Denniston <tdenniston@google.com>
2020-12-07 15:29:19 +00:00
..
audioplayer SFML [1] backed for SkAudioPlayer/Linux 2020-08-18 17:58:55 +00:00
canvaskit [canvaskit] Respect Exif metadata for animated images. 2020-12-07 11:10:07 +00:00
particles Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
pathkit [pathkit] update to build with emsdk 2.0.6 2020-10-08 17:26:32 +00:00
skottie Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
skparagraph Painting styled text blocks in RTL 2020-12-03 21:51:40 +00:00
skplaintexteditor Enable ClangTidy check readability-const-return-type. 2020-08-07 17:42:38 +00:00
skresources Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
sksg Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
skshaper [skshaper] Fix CoreText segfault and convert UTF16 indices to UTF8 2020-11-10 02:53:01 +00:00
svg [svg] Initial <tspan> support 2020-12-07 15:29:19 +00:00