made TextPainter less verbose