fontsize_for_rect
fs = fontsize_for_rect(height, w, textlen);
fs = fontsize_for_rect(height, 100.0, textlen);