See https://webkit.slack.com/archives/CU65R5WQY/p1689189611828469. In order to handle emoji properly, we need to know whether or not a glyph is a color glyph. Harfbuzz has functions for this (`hb_ot_color_has_paint()`, `hb_ot_color_has_png()`, `hb_ot_color_has_svg()`, etc.) but the only time Harfbuzz fonts exist in WebKit is inside ComplexTextController. There doesn't seem to be a place where I can call these functions outside of ComplexTextController.
<rdar://problem/112640305>