Revert^2 "[Fontations-backend] Add COLRv0/v1 support to Fontations backend"

This reverts commit 98240694c57dd265413c96f57d9e918c30099f4b.

Reason for revert: Unsafe calls moved to separate file to ease rolling, compare cr/596240763

Original change's description:
> Revert "[Fontations-backend] Add COLRv0/v1 support to Fontations backend"
>
> This reverts commit 9612d6c2c9814b113eca2b7e2206005cda83ff3a.
>
> Reason for revert: speculative revert for chrome and g3 failures
>
> Original change's description:
> > [Fontations-backend] Add COLRv0/v1 support to Fontations backend
> >
> > Implement the `ColorPainter` trait in the FFI interface and pass draw
> > calls generated by Skrifa to the SkCanvas we're operating on.
> >
> > Modify SkTypeface_fontations.cpp to not unconditionally generate bounds
> > and image from path, but instead, assign track glyph format using
> > ScalerContextBits and call the parent `GenerateImageFromPath()` function
> > for path drawing, as the DirectWrite backend does it.
> >
> > Pass calls back up to the base SkScalerContext for handling
> > monochromatic glyphs from path.
> >
> > Bug: b/301562314
> > Cq-Include-Trybots: luci.skia.skia.primary:Build-Debian10-Clang-x86_64-Debug-Fontations,Build-Mac-Clang-x86_64-Debug-Fontations,Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All-Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-Fontations
> > Change-Id: Ibea9e29f3f4ae5de8b876d5167a6290cf73fae71
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/774596
> > Reviewed-by: Ben Wagner <bungeman@google.com>
> > Commit-Queue: Dominik Röttsches <drott@google.com>
>
> Bug: b/301562314
> Change-Id: I2d3ba6cbf98da3dfad92d557dfc50eb758e79d8d
> Cq-Include-Trybots: luci.skia.skia.primary:Build-Debian10-Clang-x86_64-Debug-Fontations,Build-Mac-Clang-x86_64-Debug-Fontations,Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All-Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-Fontations
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/797237
> Commit-Queue: Greg Daniel <egdaniel@google.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>

Bug: b/301562314
Change-Id: I6eba53507f254b127cb6df2078380f2ab3366905
Cq-Include-Trybots: luci.skia.skia.primary:Build-Debian10-Clang-x86_64-Debug-Fontations,Build-Mac-Clang-x86_64-Debug-Fontations,Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All-Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-Fontations
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/797756
Commit-Queue: Dominik Röttsches <drott@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Dominik Röttsches <drott@google.com>
7 files changed