#37 Text exported by SVG is not rotated

0.58.x and 0.59.x
closed-fixed
Hugo Corbucci
9
2009-04-28
2009-04-14
Luiz Real
No

When exporting a drawing with a rotated text, the exported drawing should have the rotated text, but the text isn't rotated there.

Discussion

  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    Working on that now. Should be fixed soon!

     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    • priority: 5 --> 9
    • status: open --> open-accepted
     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    It is rotated. It just goes to very weird places when rotated. Something related to the way rotation is handled in SVG maybe?

     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    Ok! Found out.
    The rotate transformation that was used to rotate the text in SVG takes two optional arguments that are the center of the rotation. Since they weren't being set, it was assumed to be 0,0 always. Which rotates the whole text placing it on a wrong spot. Will be fixed soon.

     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    • status: open-accepted --> closed-fixed
     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    Fixed on repository version 1612.
    The rotate transformation had to tell what was the rotation reference.