Go to file
Ben Wagner edea19858c Fix loaders for DW variable fonts.
This fixes several issues introduced with DirectWrite and onMakeClone.
The primary issue is that the font file loader and collection loader
need to remain registered until the last font using them is no longer
in use. Prior to onMakeClone this was just the original font, so
unregistration was simple. However, when cloning a new font is brought
into existence using the same loaders as the original. All clones need
to keep a reference to the loaders so that the last can unregister them.

In addition variable fonts complicated the concept of equality of fonts.
As a result when variable font support was introduced an Equal method
was provided to make comparison easier. Use it when available to avoid
issues when comparing two system fonts which differ only by their
variation design position.

Change-Id: I6aa8d8cc3240f1244d16f661f6fbfd17ff0f7412
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/288159
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-05-07 14:45:45 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fix SkBitSet. 2020-05-05 20:04:11 +00:00
bin roll GN 2020-04-01 17:02:23 +00:00
build/fuchsia harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkFrontBufferedStream 2020-04-28 13:51:40 +00:00
dm [skottie] Introduce an external layer API 2020-05-06 20:31:14 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkPath::RawIter from docs and examples 2020-05-06 14:00:59 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Remove libgifcodec from skottiekit build. 2020-04-29 18:08:46 +00:00
fuzz Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
gm Revert "Fix tile modes in SkGpuBlurUtils." 2020-05-06 21:47:17 +00:00
gn Revert "Fix tile modes in SkGpuBlurUtils." 2020-05-06 21:47:17 +00:00
include Add a work indication to SkDeferredDisplayList::ProgramIterator::compile 2020-05-06 19:49:40 +00:00
infra Add Dawn/Linux/Debug build bot 2020-05-07 13:44:35 +00:00
modules [skottie] Include ExternalLayer.h explicitly 2020-05-07 13:16:55 +00:00
platform_tools Improve selection of target_cpu in android_gdbserver 2020-04-21 19:31:54 +00:00
resources [skottie] Introduce an external layer API 2020-05-06 20:31:14 +00:00
samplecode Lines ending with hard line breaks should not be justified 2020-05-06 21:14:14 +00:00
site Remove SkPath::RawIter from docs and examples 2020-05-06 14:00:59 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Fix loaders for DW variable fonts. 2020-05-07 14:45:45 +00:00
tests Split apart creating and updating GrBackendTextures internally. 2020-05-06 20:02:04 +00:00
third_party Revert "retry absl" 2020-04-30 16:11:14 +00:00
tools Fix format specifier in skpbench. 2020-05-06 20:57:14 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Revert "retry absl" 2020-04-30 16:11:14 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 daed369cfdb6..101da7573691 (16 commits) 2020-05-07 04:51:35 +00:00
go.mod Update Go Deps 2020-05-07 05:31:35 +00:00
go.sum Update Go Deps 2020-05-07 05:31:35 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl [skottie] Cleanup: split animators into separate CUs 2020-03-17 15:48:17 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Add finisehd proc to backend texture creation. 2020-05-06 16:50:33 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.