Weather icon fonts are missing in the KDE calendar widget

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 ? :thinking:

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">

That is not good idea.




Good solution:

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


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