renderer: scale text image to fit