New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenMoji-Color fonts incompatible with WinAPI. #478
Labels
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: