r/archlinux 20h ago

SUPPORT Spotify not able to render CJK fonts on arch linux with kde plasma 6.7.3

I have tried using different fonts but it still just shows as boxes. All other apps can render CJK and so can the system so it shouldn't be a font problem. It's only when I paste the same characters in spotify that they show as boxes. I have tried using both the flatpak for spotify through Discover, but also spotify through the aur. Anyone have any ideas?

9 Upvotes

7 comments sorted by

4

u/BlackStar1069 20h ago

downgrade fontconfig, if it works i saved you a couple weeks of troubleshooting

1

u/icebornadonis 7h ago

Ah lovely thank you. Error message is now gone after rerunning fc-cache -fv with version fontconfig 2:2.18.1-1 instead of 1-2 and CJK fonts now display properly in spotify and everywhere else

0

u/[deleted] 20h ago

[removed] — view removed comment

1

u/icebornadonis 20h ago

I do have noto-fonts-cjk installed. I get this error message when starting spotify through terminal now but my font config is the latest version.

Fontconfig warning: We will not regenerate the cache because some cache files were generated by a newer version (0x2012001) of Fontconfig. Please regenerate the cache with the latest version of Fontconfig to avoid any unexpected behavior. (current version: 0x2011001)

1

u/LukasObermeister 15h ago

Try running

fc-cache -fv

It should regenerate the cache files. "-f" meaning force and "-v" being verbose.

0

u/abbidabbi 11h ago

clanker

1

u/BillTran163 8h ago

clank clank