Open tomwiel opened 7 months ago
I also found an older OpenMoji variant from a different site (Emoji-COLRv0) which is compatible with DirectWrite.
I'm afraid but all the fonts are experimental and not for production. The fonts are out of scope of the OpenMoji project. We simply don't have the time and resources to do / test them. But of course any contribution to make the fonts really work everywhere are welcome.
For MS Windows Software, the common (also simplest) way to use Color Fonts with API (DirectWrite) is: "To opt in to color glyph rendering, pass the D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT" This works with several fonts (Segoe UI Emoji, Twemoji Mozilla, EmojiTwo COLRv0, Noto Color Emoji). But with OpenMoji, the text never shows OpenMoji glyphs, but only fallback-glyphs (if available) from Segoe UI Emoji. The big FOSS software (Browsers, Libre Office) use other libraries which don't have this problem. But typical app developers use DirectWrite or components based on DirectWrite. DirectWrite officially supports COLR (v0, v1) and some other formats. There must be some solution to generate the font file (eg. COLRv0) compliantly,
but I have no knowledge about file details and potential modifications or tools.