Zesko
1
I added a webcal of meteomatics weather event to KDE Digital Clock widget (Default calendar widget)
noto-fonts-emoji
was installed, that should support many icon fonts of weather.
But the screenshot shows some weather icons are rectangles.

In my VM:

I compared my VM and my system, both have the same noto-fonts-emoji and the same font configuration.
I suspect a conflict with some fonts to override noto-fonts-emoji ? 
Zesko
2
I can reproduce this issue in my VM:
Install Gimp to break noto-fonts-emoji
as it required the dependency gsfonts
.

There are some fonts-packages to break noto-fonts-emoji
:
-
gsfonts (required by Gimp)
-
ttf-nerd-fonts-symbols-2048-em (Required by lsd)
-
ttf-liberation (Required by Firefox and onlyoffice-desktop)
Solution: (Not recommended)
Create a font config ~/.config/fontconfig/fonts.conf
to blacklist some fonts.
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/liberation/*</glob>
<glob>/usr/share/fonts/TTF/*</glob>
<glob>/usr/share/fonts/gsfonts/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
That is not good idea.

2 Likes
Zesko
3
Update:
Good solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
</match>
</fontconfig>

system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.