Reland "[Fontations-backend] Hook up Skrifa hinting support"

This reverts commit fb1b97ee910a0befb98b643e9ca37eeb367f16bb.

Reason for revert: Fixing static initializer usage.

Original change's description:
> Revert "[Fontations-backend] Hook up Skrifa hinting support"
>
> This reverts commit a251e7836a5cdf1b7081712c8d84bee443c29946.
>
> Reason for revert: Blocking chromium roll (?) due to static initializer
> https://chromium-review.googlesource.com/c/chromium/src/+/5548621
>
> Original change's description:
> > [Fontations-backend] Hook up Skrifa hinting support
> >
> > Create a hinting instance and create hinting DrawSettings if a hinting
> > instance is created.  Tested locally for CFF (Source Sans with CFF
> > contours) and TTF hinting (Lemonada) (only for grayscale, not for BW).
> >
> > Bug: skia:301559046
> > 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-NativeFonts_Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-NativeFonts_Fontations
> > Change-Id: Ia3eb7e1e21bc0876ed349e7c54aaa2829c711f81
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/853457
> > Reviewed-by: Ben Wagner <bungeman@google.com>
> > Commit-Queue: Dominik Röttsches <drott@google.com>
> > Reviewed-by: Dominik Röttsches <drott@google.com>
>
> Bug: skia:301559046
> Change-Id: Ief3cd54f528a7c284a369200d157dac43edb07ef
> 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-NativeFonts_Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-NativeFonts_Fontations
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/854778
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Auto-Submit: Kaylee Lubick <kjlubick@google.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>

Bug: skia:301559046
Change-Id: I757d12caccbef92279ce22e5a0148534a17a75c1
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-NativeFonts_Fontations,Test-Mac12-Clang-MacBookPro16.2-CPU-AppleIntel-x86_64-Debug-All-NativeFonts_Fontations,Canary-Chromium
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/854363
Auto-Submit: Dominik Röttsches <drott@google.com>
Reviewed-by: Kaylee Lubick <kjlubick@google.com>
Reviewed-by: Dominik Röttsches <drott@google.com>
2 files changed