calculates the approximate size of a text, depending on a demo text avoid repeated calls (e.g. inside drawing methods)
calculates the approximate size of a text, depending on a demo text avoid repeated calls (e.g. inside drawing methods)