[[ Bugfix 9984 ]] Use floating-point to layout text blocks