Slow moving text + pixel rounding off = dancing letters?

So… this is an “interesting” effect… with pixel rounding turned off and moving text slow (0.3 px pr frame) the letters in textfields seem to “dance around” … meaning they move back and forth between pixel positions… for each letter in a textfield.

Changing CairoHintMetrics to CairoHintMetrics.ON fixes it, and seem to snap the textfield to rounded pixels. But that breaks the textfield width calculations…

[ C++ / Windows 10 / OpenFL 4.8.0 / hxcpp 4.3.49 ]

I know there was a reason why we had pixel rounding, though wobbling occurs when rotating objects with rounding enabled. I’ll look into this

1 Like