XAML export formats numbers in the top-level TranslateTransform in the user's locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
As a minimal example, the following SVG can be used:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"?>
<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.
Switching to a US locale fixes the problem, but I still wonder why every single number is written correctly, but not those two.
Windows 8.1 x64, Inkscape 0.48.4 r
Related branches
description: | updated |
tags: | added: exporting i18n xaml |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Related Bug #380199 "Exporting to XAML doesn't use culture independent decimal sign".
It seems that I forgot to apply the fix to the TranslateTransform element...