adc6889228
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> |
||
---|---|---|
.. | ||
audioplayer | ||
canvaskit | ||
particles | ||
pathkit | ||
skottie | ||
skparagraph | ||
skplaintexteditor | ||
skresources | ||
sksg | ||
skshaper | ||
svg |