c19459bf1e
In XPS if a glyph is out of range, ignore it. Also resolve the default font in the new way, removing the last user of SkTypefacePriv. In PDF handle fonts with zero glyphs correctly. Rewrite SkBitSet to keep track of its size, move properly, and make it more obvious when certain checks are actually made instead of relying on undefined behavior. Add a test in a GM to ensure we don't draw anything when a glyph is out of range on all backends. Fix the DirectWrite SkScalerContext to pass this new test for consistency. Bug: chromium:1071311 Change-Id: I2583970bf1425f59d0d64e3dd7d28109991f9ea9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/286776 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
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.