androidsvg
androidsvg copied to clipboard
Font variation settings ruins performance
Also in our fork we had to disable font variation settings because Paint#setFontVariationSettings() creates a new Typeface internally each time you invoke it and it's not a lightweight operation. Example to illustrate the scale of the issue: in one of our svg we have 20000+ms parsing + rendering time decreased to ~1500ms just by disabling this option here.
But have no good ideas how to deal with it.