Text width in pixels on Mac OSX
I got a problem with some strings I'd like to be presented in a specific way.
Each string is on a specific canvas, which are presented the right way. But now I'd like to change the x-coordinate of the presented canvasses respectively to the text-width (in pixels) of the canvas presented before.
I could only find solutions for Windows (like this: http://stackoverflow.com/questions/32555015/how-to-get-the-visual-length-of-a-text-string-in-python). Since I am bound to Mac OSX atm, I'd like to ask you if you know about an equivalent for Mac?
I am using MacOS Sierra 10.12 and OpenSesame 3.1.3.