8be6332748
Add a getter to SkTypeface to provide information on whether it needs access to the foreground color (in COLR fonts) so that the strike cache can determine caching requirements. Since remote SkTypefaces do not have access to table information, implement this as a serializable flag, with font-blob backed implementations being able to return this based on whether they have a COLR table or not, starting with FreeType. Preparation for supporting foreground color in FreeType COLR rasterisation. Bug: skia:12576 Change-Id: I7e71b0ec12e17f652ab7b43adffc43bc780ce2e7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/466936 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
.. | ||
create_test_font_color.cpp | ||
create_test_font.cpp | ||
generate_fir_coeff.py | ||
RandomScalerContext.cpp | ||
RandomScalerContext.h | ||
test_font_index.inc | ||
test_font_monospace.inc | ||
test_font_sans_serif.inc | ||
test_font_serif.inc | ||
TestEmptyTypeface.h | ||
TestFontMgr.cpp | ||
TestFontMgr.h | ||
TestSVGTypeface.cpp | ||
TestSVGTypeface.h | ||
TestTypeface.cpp | ||
TestTypeface.h | ||
ToolUtilsFont.cpp |