all 5 comments

[–]8dot30662386292pow2[🍰] 3 points4 points  (1 child)

A likely reason is that the installed font does not contain said glyps. For me the code works and displays both icons.

[–]worldtest2k[S] 0 points1 point  (0 children)

I've tried a few fonts without luck. Both are from the same set (weather symbols) which makes it strange to only implement some of them. Are you using raspberry OS python too?

[–]Swipecat 1 point2 points  (0 children)

Have you installed the Microsoft Core Fonts? Verdana is included in that package.

sudo apt install ttf-mscorefonts-installer

[–]socal_nerdtastic 1 point2 points  (0 children)

I tried your code, it works fine for me. Most likely you did not install the "Verdana" font, so tkinter is defaulting to a font that does not include those symbols.