add test case for fdo#81803

Change-Id: I00c52bd1a8d949e3fd874c2dedbd9e2345aca74e
the range has to be in the correct order, fdo#81803

Change-Id: Ia3907701857e22c11a2cefa5d35437c8f8219ff6
fix wrong calculation for text size, fdo#81499

Change-Id: Ifd9e09dd9e1d843728e1874c48efdd127bffe11e