BerndK / SvgToXaml

Smart Tool to view svg-files and convert them to xaml for use in .NET
Other
886 stars 164 forks source link

Mixed usage of comma (,) and dot (.) #11

Closed knappema closed 5 years ago

knappema commented 5 years ago

Generated Xaml: \<DrawingGroup ClipGeometry="M0,0 H779,52753 V667,20471 H0 V0 Z"> but should be: \<DrawingGroup ClipGeometry="M0,0 H779.52753 V667.20471 H0 V0 Z">

The CultureInfo should be always en-US. So the following lines are missing in the App.xaml.cs: System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US", false); System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US", false);

BerndK commented 5 years ago

Right. Fixed see commit Thanks for reporting, Bernd.