Modified script. Font-Size calculated automatically depending of width and height of the text.