Created attachment 618464 [details] emerge --info I could not find another person who could confirm this bug. It is system-wide issue with x11-libs/pango that affects swaywm, gnome-terminal and possibly other software using pango. pango-view behaviour is identical to those. I tried different fonts, like media-fonts/hack, and I have two hypotheses: A) Fallback is not working correctly in pango, and somehow in alacritty it works (it shows glyph looking a lot like crying face), but gnome-terminal, sway title bar etc shows empty space. How to reproduce: 1. pango-view --text="2137 (😥) y3110w pop3" --output=pango.png --no-display 2. xdg-open pango.png what I see: https://pasteboard.co/IYUciLfs.png B) Noto emoji fonts do not work at all. How to reproduce: 1. pango-view --text="2137 (😥) y3110w pop3" --font='Noto Color Emoji 50' --output=pango.png --no-display 2. xdg-open pango.png what I see: https://pasteboard.co/IYUcRY6.png what I guess I should see: https://i.imgur.com/UI22gpD.png (sent by u/triffid_hunter on reddit). We see there that emoji clearly belongs to noto-emoji and numbers are in some unknown fallback font.
Created attachment 618466 [details] eselect fontconfig list
Created attachment 618468 [details] cat /var/lib/portage/world | grep -i font
Created attachment 618470 [details] fc-list
Created attachment 618474 [details] dconf dump /
Created attachment 618476 [details] emerge -pve pango fontconfig noto-emoji hack
please do not use pastebins, attach all files.
Created attachment 619210 [details] what I see - case A
Created attachment 619212 [details] what I see - case B
Created attachment 619226 [details] what others see (without substring "y3110w pop3") in case B
Created attachment 619260 [details] FC_DEBUG=1 pango-view in case A
Created attachment 619262 [details] FC_DEBUG=1 pango-view in case B
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390b2d03f557be7f6e8f45bfc1a6b7fe25aaf049 commit 390b2d03f557be7f6e8f45bfc1a6b7fe25aaf049 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-07-04 17:57:53 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-07-04 18:13:00 +0000 x11-libs/pango: Version bump to 1.48.7 * Depend on media-libs/freetype with USE="harfbuzz png" (bugs #712374, #717380) Closes: https://bugs.gentoo.org/712374 Closes: https://bugs.gentoo.org/717380 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/arch/riscv/package.use.mask | 1 - x11-libs/pango/Manifest | 1 + x11-libs/pango/pango-1.48.7.ebuild | 83 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa556416160e9ad6bafd733a64789627f36f1b2 commit 0aa556416160e9ad6bafd733a64789627f36f1b2 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2021-11-01 20:40:54 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-11-01 20:41:08 +0000 x11-libs/pango: Do NOT depend on freetype[harfbuzz,png] anymore This caused ugly circular dependencies between harfbuzz and freetype on just about every initial installation. Minor font rendering issues accompanied by a warning are an acceptable tradeoff. Discussed in detail in releng team Bug: https://bugs.gentoo.org/712374 Bug: https://bugs.gentoo.org/717380 Bug: https://bugs.gentoo.org/813504 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> .../pango/{pango-1.48.10.ebuild => pango-1.48.10-r1.ebuild} | 11 ++++++++++- .../pango/{pango-1.48.7-r1.ebuild => pango-1.48.7-r2.ebuild} | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-)