optimize drawtext a little