94aed0be1f
Buffers with HB_LANGUAGE_INVALID race since it will force hb_buffer_guess_segment_properties to call hb_language_get_default which is not thread safe. The user is required to pass a language string to the shaper, but it may be malformed and hb_language_from_string may return HB_LANGUAGE_INVALID. Detect this and use "und" as the language, since the language really isn't known (RFC5646 4.1 5). Bug: skia:10323 Change-Id: Icf2389e606eb1b635d7535e57be10cca23bf9d33 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/294999 Reviewed-by: Mike Klein <mtklein@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.