skia2/modules/svg
Florin Malita adc6889228 [svg] Refactor text rendering context plumbing
Instead of relying on RenderContext to pass text rendering options
downstack, introduce a dedicated virtual (onRenderText) and pass options
explicitly.

Root text nodes bridge from onRender() -> onRenderText().

This removes some complexity from RenderContext and incidentally fixes
xml:space = preserve (the value was being dropped during local ctx
copying).

Bug: skia:10840
Change-Id: Ic5fd9e0f9382f52f65108521574fcb2a422b97aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344559
Reviewed-by: Tyler Denniston <tdenniston@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-12-15 16:54:42 +00:00
..
include [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
src [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
utils [svg] Allow clients to pass a custom SkFontMgr 2020-11-11 01:51:44 +00:00
BUILD.gn [svg] Text shaping and layout 2020-12-08 20:48:43 +00:00
svg.gni [svg] Add feFlood filter node 2020-12-11 15:02:20 +00:00