The svg-affine-test.h unit test fails with lp:inkscape r12442. This may be related to recent changes in 2geom in r10025, although I haven't checked this.
A couple of notes:
* svg-affine.cpp now seems to return long forms of transform and scale attributes e.g., "transform(1,0) instead of transform(1)".
* Some affine transforms are now represented as general matrix transforms rather than simple forms e.g., matrix(...) rather than skewY(390)
Please could someone familiar with 2geom take a look?
In SvgAffineTest::testWriteTranslate:
../../src/svg/svg-affine-test.h:131: Error: Expected streq_rel( str, write_translate_tests[i].str ), found !streq_rel( translate(1,0), translate(1) )
In SvgAffineTest::testWriteScale:
../../src/svg/svg-affine-test.h:140: Error: Expected streq_rel( str, write_scale_tests[i].str ), found !streq_rel( scale(0,0), scale(0) )
In SvgAffineTest::testWriteRotate:
../../src/svg/svg-affine-test.h:149: Error: Expected streq_rel( str, write_rotate_tests[i].str ), found !streq_rel( matrix(0.97437006,0.22495105,-0.22495105,0.97437006,0,0), rotate(13) )
../../src/svg/svg-affine-test.h:149: Error: Expected streq_rel( str, write_rotate_tests[i].str ), found !streq_rel( matrix(0.97437006,-0.22495105,0.22495105,0.97437006,-2.2950521,1.8565867), rotate(-13,7,11) )
In SvgAffineTest::testWriteSkew:
../../src/svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0,0.57735027,1,0,0), skewX(30) )
../../src/svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0,-0.57735027,1,0,0), skewX(-30) )
../../src/svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0.57735027,0,1,0,0), skewY(390) )
.
In SvgAffineTest::testReadFailures:
../../src/svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5,6,)
../../src/svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
../../src/svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5e6-3)
../../src/svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
../../src/svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5e6.3)
../../src/svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
../../src/svg/svg-affine-test.h:179: Error: Test failed: translate(1,)
../../src/svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
../../src/svg/svg-affine-test.h:179: Error: Test failed: translate(1,6,)
../../src/svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
It is impossible that these tests ever passed. There is no code in our cvs history that can output "translate" with only a single number, or "skew.." etc.