Python Forum
Very big font needed - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Very big font needed (/thread-24530.html)



Very big font needed - juhanjuku - Feb-18-2020

I need 5 digits counter number to fill HD screen, so it can be visible from long distance.
So far I can't find how to make fonts bigger than 127?
I need font size > 500


RE: Very big font needed - Denni - Feb-18-2020

And what GUI software are you using?


RE: Very big font needed - juhanjuku - Feb-18-2020

I'm using tkinter. Does font size limit depends from GUI software?


RE: Very big font needed - Denni - Feb-18-2020

Maybe and maybe not -- but knowing what your base GUI is helps us know what and who can answer your question - I am not a Tkinter aficionado so I definitely cannot say but there are Tkinter folk and maybe the will chime in now -- of course if you message had denoted Tkinter then without opening this post they would know this was something they could answer


RE: Very big font needed - juhanjuku - Feb-18-2020

Sorry for confusion, but my problem is font size and I don't mind to solve it by using some another GUI software. I'm quite new with Python and willing to try everything to get my goal.


RE: Very big font needed - michael1789 - Feb-18-2020

if tkinter has a size limit for fonts you can import pygame and render any font to a surface in any size you want. You can also use any font you want. I get them here https://www.1001freefonts.com/index.php


RE: Very big font needed - Denni - Feb-18-2020

As a note I know that Qt uses stylesheets to handle some of its formatting so I would venture to guess that Tkinter has a similar mechanism as well along with perhaps having something that handles font dynamics all by itself as again I know Qt has this feature but if you are wanting to use Tkinter and have been then its just as good for most things as any other GUI renderer.