You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: