Closed SlySven closed 5 years ago
In practice the effects are:
Plain Deja Vu Mono without a substitute font:
Deja Vu Mono with Noto Color Emoji as substitute font:
Deja Vu Mono with Openmoji Color as substitute font:
Hi @SlySven, many thanks for the interest!
Quick answer is: "No" :( I've spent this year ca. 2 weeks trying to generate a valid colorfont. I unfortunately just partly succeed. The OpenMoji Colorfont works in Firefox (with some glitches). The font folder holds all the current tooling to generate from SVG files a colorfont.
But as this is an non commercial project ... figuring out the colorfont issue feels currently out of scope. We are already very busy with the very core of the project: creating, maintaining and testing emojis!
However the google noto-emoji repo seems to have another approach to generate colorfonts. One would have to have a look and port it to OpenMoji. I don't have time for it in the next months. But ... of course any help on this is very welcome! Wink wink! 👋
I guess this is answered. Closing.
I am part of a project (https://github.com/mudlet) that has recently start to adopt colour emojis and for Linux users this means we are currently forcing the use of Noto Color Emoji to fill-in and provide colour emojis by adding it with a
QFont::insertSubstitution(<main font name>, "Noto Color Emoji")
to the font we are using in various Qt widgets - I have revised our codebase to allow a different emoji font to be used and I selected Openmoji because I liked that it wasn't tied to a particular OS (and because it is working on supporting Unicode 12)!However, although I can see that it is being used to substitute for Emoji code-points but unlike the Noto font I am only seeing the black and white glyphs. Can anyone explain why that is and what more needs to happen before the colour glyphs can be accessed. I did a
fc-scan
(from thefontconfig
suite of tools) for each of the two font files and I was curious to see that thecolor
option wasfalse
for Openmoji - is this a symptom or a cause of the Qt font rendering system from not handling the colour elements under Linux?Noto color emoji:
Openmoji color: