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