I'm new to Python and programing in gneral. I'm a self-learner and I decided that I would write a command line tool that would help me make watchfaces for Mi Band 4. So I want to generate; numbers, days of weeks and some specials characters in different fonts and sizes, and that's my problem, I don't want to manually type in width and height for every image and font, because then there woudln't be any point in making it. I want the tool to dynamically adjust the width and height by itself depending on the font size.
I'm on python 3.7.4 and I was working with "pillow" before. Thanks for any help