
This fixed one case of overloading a deprecated method (font_loader) and one case of implicitly depending on the default font manager by depending on the default SkTypeface deserialization logic. Other places, e.g. printing [1], already explicitly passed in the system font manager. [1] https://source.chromium.org/chromium/chromium/src/+/main:printing/common/metafile_utils.cc;l=302-333;drc=24da48fcb484a544fe2be720172ec56af19532c2 Bug: b:305780908 Change-Id: I2778be72deb59d14abceb119f2ff7e0c5b3b3b90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5105288 Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Auto-Submit: Kevin Lubick <kjlubick@chromium.org> Commit-Queue: Kevin Lubick <kjlubick@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1237611}
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
The Skia library can be found in //third_party/skia
, and full documentation
is available at https://skia.org/
This directory includes low-level chromium utilities for interacting with Skia:
- Build rules for the Skia library
- Configuration of the library (
config/SkUserConfig.h
) - Serialization of Skia types (
public/mojom
) - Implementations of Skia interfaces for platform behavior, such as fonts and
memory allocation, as well as other miscellaneous utilities (
ext
).
Note that Skia is used directly in many parts of the chromium codebase. This directory is only concerned with code layered on Skia that will be reused frequently, across multiple chromium components.