NEW259205
[Harfbuzz] Glyphs need to be classified as either color or non-color
https://bugs.webkit.org/show_bug.cgi?id=259205
Summary [Harfbuzz] Glyphs need to be classified as either color or non-color
Myles C. Maxfield
Reported 2023-07-13 22:06:08 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-20 22:07:17 PDT
Note You need to log in before you can comment on or make changes to this bug.