The original code would reject glyphs that were too large (!canDrawAsMask or !canDrawAsSDFT). After CL/251760 this behavior was change so, that glyphs were only rejected once, and then never again. The next stage (path, etc.) would then not know to send a glyph in future draws. This code allows glyphs that can't draw as mask and can't draw as SDFT be rejected. I don't have a unit test yet. BUG=chromium:1058517 Change-Id: I6117bc96a8f306be63ffea17b9f4a34e7388645e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281724 Reviewed-by: Khushal Sagar <khushalsagar@google.com> Commit-Queue: Herb Derby <herb@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
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 | ||
RELEASE_NOTES.txt | ||
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.