As a minimal example, the following SVG can be used:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.5 1.5 10 10" height="5" width="5" version="1.1"> </svg>
Which will result in the following XAML when exported on a system using a German locale:
<?xml version="1.0" encoding="UTF-8"?> <Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Stretch="Uniform"> <Canvas Name="svg3004" Width="10" Height="10"> <Canvas.RenderTransform> <TranslateTransform X="1,5" Y="-1,5"/> </Canvas.RenderTransform> <Canvas.Resources/> <!--Unknown tag: metadata--> <!--Unknown tag: sodipodi:namedview--> </Canvas> </Viewbox>
Note the numbers being written as 1,5 in the top-level TranslateTransform. This appears to happen only for the TranslateTransform for the viewBox attribute, not if a transform attribute is used on any child element.
Windows 8.1 x64, Inkscape 0.48.4 r
As a minimal example, the following SVG can be used:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> www.w3. org/2000/ svg" viewBox="-1.5 1.5 10 10" height="5" width="5" version="1.1">
<svg xmlns="http://
</svg>
Which will result in the following XAML when exported on a system using a German locale:
<?xml version="1.0" encoding="UTF-8"?> schemas. microsoft. com/winfx/ 2006/xaml/ presentation" Stretch="Uniform">
<Canvas. RenderTransform >
<TranslateTr ansform X="1,5" Y="-1,5"/>
</Canvas. RenderTransform >
<Canvas. Resources/ > namedview- ->
<Viewbox xmlns="http://
<Canvas Name="svg3004" Width="10" Height="10">
<!--Unknown tag: metadata-->
<!--Unknown tag: sodipodi:
</Canvas>
</Viewbox>
Note the numbers being written as 1,5 in the top-level TranslateTransform. This appears to happen only for the TranslateTransform for the viewBox attribute, not if a transform attribute is used on any child element.
Windows 8.1 x64, Inkscape 0.48.4 r