Replies: 1 comment 1 reply
-
I ran into this problem #8 early on and I tried to fix it, but ultimately decided to just remove glyphs that would cause these problems in built-in widget styles. However, if you want to include emojis and other characters, it's best, as you said, to just install the supported font. Tkinter uses the fonts installed on the machine, so there is really no way to package them with the application. That said... I did find this library the other day that I will have to look into. As far as I know, ttkbootstrap doesn't require symbola to run, but if you use certain glyphs in your application, it will crash tkinter. So, this is really dependent on the application that you build. I ran the demo app on a very minimal repl.it linux distro with only the basic fonts available. |
Beta Was this translation helpful? Give feedback.
-
I formatted the pc and installed linux mint 20.3 x64 Cinnamon X11 (Ubtuntu 20.4). and when trying to run an app with ttkbootstrap I got this error message:
To fix I had to install this package:
sudo apt-get install fonts-symbola
It would be interesting to put in the documentation that this font package is needed to use ttkbootstrap on ubuntu.
Beta Was this translation helpful? Give feedback.
All reactions