Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712374 - x11-libs/pango font issues
Summary: x11-libs/pango font issues
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://www.reddit.com/r/Gentoo/comme...
Whiteboard:
Keywords:
Depends on: 717380
Blocks:
  Show dependency tree
 
Reported: 2020-03-13 13:53 UTC by Othremgliz
Modified: 2020-05-10 04:36 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_--info.txt,6.38 KB, text/plain)
2020-03-13 13:53 UTC, Othremgliz
Details
eselect fontconfig list (eselect_fontconfig_list.txt,1.43 KB, text/plain)
2020-03-13 13:54 UTC, Othremgliz
Details
cat /var/lib/portage/world | grep -i font (world.txt,238 bytes, text/plain)
2020-03-13 13:56 UTC, Othremgliz
Details
fc-list (fc-list.txt,249.21 KB, text/plain)
2020-03-13 13:57 UTC, Othremgliz
Details
dconf dump / (dconf.ini,1.62 KB, text/plain)
2020-03-13 14:03 UTC, Othremgliz
Details
emerge -pve pango fontconfig noto-emoji hack (tree.txt,31.46 KB, text/plain)
2020-03-13 14:22 UTC, Othremgliz
Details
what I see - case A (what-I-see.png,2.72 KB, image/png)
2020-03-14 22:27 UTC, Othremgliz
Details
what I see - case B (what-I-see-noto-emoji.png,8.25 KB, image/png)
2020-03-14 22:28 UTC, Othremgliz
Details
what others see (without substring "y3110w pop3") in case B (correct-noto-emoji.png,12.38 KB, image/png)
2020-03-14 22:31 UTC, Othremgliz
Details
FC_DEBUG=1 pango-view in case A (A__fc_debug_1.txt,11.26 KB, text/plain)
2020-03-14 22:43 UTC, Othremgliz
Details
FC_DEBUG=1 pango-view in case B (B__fc_debug_1.txt,15.43 KB, text/plain)
2020-03-14 22:44 UTC, Othremgliz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Othremgliz 2020-03-13 13:53:20 UTC
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.
Comment 1 Othremgliz 2020-03-13 13:54:50 UTC
Created attachment 618466 [details]
eselect fontconfig list
Comment 2 Othremgliz 2020-03-13 13:56:10 UTC
Created attachment 618468 [details]
cat /var/lib/portage/world | grep -i font
Comment 3 Othremgliz 2020-03-13 13:57:14 UTC
Created attachment 618470 [details]
fc-list
Comment 4 Othremgliz 2020-03-13 14:03:11 UTC
Created attachment 618474 [details]
dconf dump /
Comment 5 Othremgliz 2020-03-13 14:22:35 UTC
Created attachment 618476 [details]
emerge -pve pango fontconfig noto-emoji hack
Comment 6 Jonas Stein gentoo-dev 2020-03-14 20:40:03 UTC
please do not use pastebins, attach all files.
Comment 7 Othremgliz 2020-03-14 22:27:37 UTC
Created attachment 619210 [details]
what I see - case A
Comment 8 Othremgliz 2020-03-14 22:28:42 UTC
Created attachment 619212 [details]
what I see - case B
Comment 9 Othremgliz 2020-03-14 22:31:34 UTC
Created attachment 619226 [details]
what others see (without substring "y3110w pop3") in case B
Comment 10 Othremgliz 2020-03-14 22:43:08 UTC
Created attachment 619260 [details]
FC_DEBUG=1 pango-view in case A
Comment 11 Othremgliz 2020-03-14 22:44:05 UTC
Created attachment 619262 [details]
FC_DEBUG=1 pango-view in case B