[Bug 722544] Re: SVG transform matrix() arg order is a1 b1 a2 b2 a3 b3, not a1 a2 a3 b1 b2 b3

jazzynico 722544 at bugs.launchpad.net
Sat Feb 14 14:44:59 UTC 2015


** Changed in: inkscape
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to scour in Ubuntu.
https://bugs.launchpad.net/bugs/722544

Title:
  SVG transform matrix() arg order is a1 b1 a2 b2 a3 b3, not a1 a2 a3 b1
  b2 b3

Status in Inkscape: A Vector Drawing Tool:
  Fix Released
Status in Scour - Cleaning SVG Files:
  Fix Released
Status in scour package in Ubuntu:
  Fix Released

Bug description:
  This makes all of the transform="matrix(...)" tests not work as
  intended (and some of them were subtly broken in other ways too). I
  took a stab at brushing up on a little python, and pushed a branch
  ~ecmanaut/transform with some fixes, and half of the work towards some
  good test cases for all of it.

  I'm still rather fresh on the language, so I didn't write the classes
  corresponding to the fifteen unittests/transform-*.svg files, but if
  anyone wants to pick up from where I left off, the tests for that code
  would be that a PASS for each file corresponds to coming up with the
  same existence and value of the "transform" attribute for the file's
  first "line" element, as the second one has.

  On second thought, it might be wiser hiding the "correct" answer in an
  inline comment, in case both get squashed to something incorrect but
  equal.

  (My loose plans are to get back to this code and replace all the
  FIXME:s I added with code, but I have no idea of if and when it might
  happen.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/722544/+subscriptions



More information about the foundations-bugs mailing list