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> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.