text width is calculated using the defined fontsize