shape: Properly detect COLRv1 color fonts
HarfBuzz 7.0.0 introduced 2 new APIs: hb_ot_color_has_paint
and
hb_ot_color_glyph_has_paint
. Use these APIs to detect the new COLRv1
color font format to ensure compatibility of code relying on the
color font detection for rendering with the new font format.
/cc @matthiasc