You are not logged in.
I have two computers running Arch Linux, and as far as I can tell the font configuration is the default and the same between them. There is nothing in the "~/.config/fontconfig" directory, all the symlinks under "/etc/fonts/conf.d" are the same between the computers and all point to files in "/usr/share/fontconfig/conf.default/", and the file "/etc/fonts/local.conf" does not exist. I have "noto-fonts-emoji" installed on both computers, but ever since the upgrade to fontconfig 2.15.0 one computer shows black-and-white outlines of some emoji (and outline squares for the rest) and the other computer still shows colorful emoji. When I run "fc-match emoji" on the computer without colorful emoji it prints:
NotoSans-Regular.ttf: "Noto Sans" "Regular"
And if I run the same command on the computer with working emoji, it prints:
NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"
I even tested with a brand-new user to make sure there wasn't any kind of user-level caching going on, and it is still broken. If I downgrade to fontconfig 2.14.2 on the computer with black-and-white emoji, it fixes things and I have colorful emoji again and the results of "fc-match emoji" are what I expect.
I did try adding a "/etc/fonts/local.conf" with this content:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Mono</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>
That had no effect, even after running "fc-cache", so I removed it. The second computer does not have that file, and it still finds the colorful emoji.
Is there any other location for font configuration that I can check?
Last edited by GargoyleFred (2024-01-05 12:44:00)
Offline
I had the same issue and deleting the /etc/fonts/conf.d/70-no-bitmaps.conf symlink fixed it for me. I guess fontconfig 2.15 considers Noto Color Emoji a bitmap font.
Offline
I also have the same problem.
I don't have 70-no-bitmaps.conf or anything regarding bitmaps in /etc/fonts/conf.d
Offline
I could have sworn that I double-checked that the fontconfig links were exactly the same between the computers, but there was indeed an extra symlink for 70-no-bitmaps.conf on the computer with black-and-white emoji. Once I removed that, the emoji were colorful again. Thanks!
Offline