I would like to know how to make a Python code that checks the size of a string (in pixels).
Assuming we have a string 'ALCON BOTTON FISH 50G' I would like to know what its pixel size is to center on a square I am plotting with reportlab (I am using absolute plotting - stating the x and y position - because I can not find an automatic make this centralization)