My issue is that during smooth scaling applied to Skia canvas (with concat
method) the text appears to scale in "spurts", non-uniformly. The issue is particularly evident on Android platform with FreeType 2 back-end.
I believe this is how general text scaling works in Skia - first apply text size to font engine, then extract glyph bitmap and transform it with "remainder" matrix to achieve the desired final size. But somehow final remaining scaling is not applied which results in such spurts amidst transition between integral values of text size. The same thing with pure Java/Android canvas appears to work impeccably (text scales smoothly).
My question is how can I fix that behavior? Maybe there is some build configuration flag I could tweak, maybe SkPaint
runtime flag?
Skia revision is m59
.