While investigating https://jira.xwiki.org/browse/XWIKI-17108 I discovered that the GNU FreeFont font we bundle for PDF export don’t support Emojis. As a result they are rendered as ‘#’ in PDF. We need to fix this quickly because the WYSIWYG editor allows you to insert Emojis so the users will start to complain. We don’t have to bundle an entire new font. We could simply bundle only the Emoji subset and add the font to the list of fallback.
I’ve tested Google’s Noto Emoji font and the monochrome version is light (~300KB) so it won’t increase the size of the XWiki WAR that much. The colored version is 6.8MB. I think the monochrome version is enough. We can document how to add the colored version.
Do you know better alternatives to Noto Emoji? Anyone against adding it to the XWiki WAR?