bohoomil / fontconfig-ultimate

freetype2-infinality run-time settings => infinality compatible fontconfig => infinality-bundle
454 stars 38 forks source link

Please add Color Emoji Support in Cairo #157

Open liyuxi opened 8 years ago

liyuxi commented 8 years ago

Arch Linux Users:I can't see Color Emoji in any program

liyuxi commented 8 years ago

Could you add color emoji patch in ArchLinux release package

bohoomil commented 8 years ago

Would you mind sharing the patch, please?

0xBRM commented 8 years ago

colored-emoji.patch.txt as per https://github.com/behdad/cairo/commit/8fcffa8cd2eebfedaca9d286d66e877d538848dd

bohoomil commented 8 years ago

Thanks a lot. An updated release will be available soon.

13rac1 commented 7 years ago

It's not as simple as this one line patch. You need the other commits in the https://github.com/behdad/cairo/commits/color-emoji branch, but you cannot use them as-is because they are only a work in progress causing major performance problems.

It actually says this in the patch against this repo: https://github.com/bohoomil/fontconfig-ultimate/commit/60937edb750c089d75060b243b65c42e9adf5d54

      * Moreover, none of our backends and compositors currently support
      * color glyphs.  As such, this is currently disabled.
      */
-    /* load_flags |= FT_LOAD_COLOR; */
+    load_flags |= FT_LOAD_COLOR;

Has color glyph support been added elsewhere to fontconfig-ultimate? If so, which formats?

yuki-takeichi commented 6 years ago

Cairo 1.15.8 now supports colored emoji glyphs in OpenType fonts. https://cairographics.org/news/cairo-1.15.8/