Webrender: Support full color glyphs

Created on 18 May 2017  路  6Comments  路  Source: servo/webrender

This is needed for Emoji

Most helpful comment

This is done.

All 6 comments

Maybe I am saying bullshit because I'm not a programmer but couldn't webrender just use Cairo for this since it support it ?
http://www.phoronix.com/scan.php?page=news_item&px=Cairo-1.15.8-Colored-Emoji

At least on Mac these already work. On Linux it's probably not worth taking a cairo dependency just so we can decode the png's in the fonts.

I think it's relatively simple for Linux - we just need to tell FreeType we want color glyphs to be supported, and then handle the image glyph type. I'm not sure what's involved for Windows yet.

@lsalzman This is complete on all platforms, I think?

@lsalzman Anything else to do here?

This is done.

Was this page helpful?
0 / 5 - 0 ratings