How to check if text overflows a rectangle in Tkinter?
You can use the bbox command to get the coordinates of a rectangle that completely encloses the text. Then, you can compare that to the coordinates of the actual rectangle you've drawn around the text.