Revert "Remove SkFontMgr::RefDefault() and dependent APIs"
This reverts commit 3f55be91033222d4b1f174c04f26afc261725b69.
Reason for revert: Breaking NativeFont tasks
Original change's description:
> Remove SkFontMgr::RefDefault() and dependent APIs
>
> To land this in G3, I had to make fontconfig always-on for linux
> builds of skia_public. Since skia_public will soon be going away,
> this should not be too big an issue. I could not turn it only
> on for G3 because some OSes cannot build fontconfig from source.
>
> Will need to remove the things from bazel/common_config_settings/BUILD.bazel
> after G3 is fixed (they are using it in one place)
>
> Bug: b/305780908
> Change-Id: I6eb5c24cc24072575da077278ce28806348f0e7c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/787084
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Kevin Lubick <kjlubick@google.com>
Bug: b/305780908
Change-Id: I855c8f5c747a9013d513315f430ec5c6204989bb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/801276
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Owners-Override: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Julia Lavrova <jlavrova@google.com>
38 files changed