Fix text rendering flickering under rotation

- quantize font rendering scale
- round kerning values for less flicker