misakuo / svgtoandroid

Converting SVG to VectorDrawable
https://plugins.jetbrains.com/plugin/8103
MIT License
528 stars 45 forks source link

Make XML generation locale-independent #27

Closed rillig closed 7 years ago

rillig commented 7 years ago

The %f specifier for String.format depends on the current locale. Since SVG paths always use a point as the decimal separator, this code must not depend on the current locale.

Fixes #26

misakuo commented 7 years ago

Looks good 👍