Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0
-
None
Description
Hello there! I'm trying to use NotoColorEmoji_WindowsCompatible.ttf (https://github.com/googlefonts/noto-emoji) build to show some emojis via Qt Widgets (QTextEdit etc) on Windows. Unfortunately emoticons don't show at all. While do some searching I found github issue in Noto Color Emoji font repository https://github.com/googlefonts/noto-emoji/issues/43 which describes problem of this font and implies that is should work through DirectWrite but that is not a Qt case. Also more searching takes us to another article: https://learn.microsoft.com/en-us/windows/win32/directwrite/what-s-new-in-directwrite-for-windows-8-consumer-preview which clearly states that starting from Windows 10 Anniversary Update DirectWrite supports fonts with SBDT, COLR, SVG, sbix tables. Qt indeed supports rendering COLRv0 color fonts but for today its far from enough. To reproduce this bug you can install https://github.com/googlefonts/noto-emoji/tree/main/fonts NotoColorEmoji_WindowsCompatible.ttf on Windows, than use any QT app to load font and place emojis - you will get a substitute instead of emojis from this font. Also I suspect all this problems affects Direct2D font rendering backend too.
Attachments
Issue Links
- is duplicated by
-
QTBUG-131129 Emojis are not displaing when using NotoColorEmoji_WindowsCompatible.ttf
- Closed
- relates to
-
QTBUG-111801 Emoji font selection in Qt
- Closed
-
QTBUG-131116 Freetype: Support COLR format color fonts
- In Progress
-
QTBUG-71930 Support colored SVGinOT fonts
- Closed