hfg-gmuend/openmoji

OpenMoji-Color fonts incompatible with WinAPI.

Open

#478 建立於 2023年12月1日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)HTML (3,504 star) (203 fork)batch import
help wanted

描述

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.

貢獻者指南