673e87cda9
When SkBaseDevice switched to drawGlyphRunList(), we lost the ability to detect a) constant-Y text and b) default-positioned text. As a result, the emitted SVG contains lots of redundant/repeating glyph positions. This CL enhances SVGTextBuilder to detect and consolidate constant-Y glyph positions. Also restore a useful whitespace unit test. Change-Id: I50568aef1955f75898ebab41441ad5fe418dac43 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/228563 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Reed <reed@google.com> |
||
---|---|---|
.. | ||
SkSVGCanvas.cpp | ||
SkSVGDevice.cpp | ||
SkSVGDevice.h |