SVG to XAML adds offset

Bug #215534 reported by Ilia
12
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
jazzynico

Bug Description

I have a problem when converting SVG to XAML. All text moved down by one line. It's look like SVG calculates text coordinates from left-bottom(!) corner but XAML from left-upper corver. I belive that bug is in \share\extensions\svg2xaml.xsl file.

P.S. Sorry, my english is bad.

Tags: exporting xaml
Revision history for this message
Marcin Floryan (mfloryan) wrote :

Also see Bug #220711

Revision history for this message
chaiguy1337 (logan-electricstorm) wrote :

I am also experiencing this problem. I think my bug report might be related:

https://bugs.launchpad.net/inkscape/+bug/295289

Revision history for this message
nightrow (jb-benoit) wrote :

This should be looked at, as it seems confirmed

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
jazzynico (jazzynico)
tags: added: exporting xaml
jazzynico (jazzynico)
summary: - SVG to XAML problem
+ SVG to XAML adds offset
Revision history for this message
Jark (jark-reijerink-gmail) wrote :

I've noticed this problem also, and instead of using some code in my application to correct the positioning i've found out that the following works for me:

- Open up the xml editor (ctrl+shift+x)

- Repeat the following step for each of the lines that contain a <svg:g> tag
- Press ctrl+shift+g to ungroup the grouped objects, this will cause inkscape to apply the transformation directly to the coordinates
- After you've ungrouped all the groups you can start grouping again, the transforms won't be applied a second time

Revision history for this message
Bastiaan Broekhuijsen (bbr) wrote :

As far as i know this problem still exists …

When exporting from SVG to XAML ..
• Text loses color settings from both filling and border..
• Test shifts down one the text height ..

I presume because SVG references to the left Bottom left corner and Xaml references to the Top left corner

jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
milestone: none → 0.49
status: Confirmed → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

A new version of the XAML export is now available in the trunk (http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/download/head:/svg2xaml.xsl-20091128124040-aej0x7yhxng1m6ly-10445/svg2xaml.xsl).
Would you be willing to replace the file in share/extensions with that one and tell me if you're still affected by that issue?

There are some bugs left listed here: http://wiki.inkscape.org/wiki/index.php/SpecXAMLExport.

jazzynico (jazzynico)
Changed in inkscape:
status: In Progress → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.