Code

Cleanup of out-of-sync tests
authorjoncruz <joncruz@users.sourceforge.net>
Fri, 9 Oct 2009 00:31:14 +0000 (00:31 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Fri, 9 Oct 2009 00:31:14 +0000 (00:31 +0000)
src/attributes-test.h
src/livarot/ShapeDraw.cpp

index d6851a42b4a77147dd5a19180f15e20838b7eecf..1d8f32843c955b24ab31e39480dd188fda70364c 100644 (file)
@@ -44,6 +44,7 @@ struct {char const *attr; bool supported;} const all_attrs[] = {
     {"begin", true},
     {"additive", true},
     {"font", true},
+    {"-inkscape-font-specification", true}, // TODO look into this attribute's name
     {"marker", true},
     {"line-height", true},
 
@@ -338,7 +339,7 @@ struct {char const *attr; bool supported;} const all_attrs[] = {
     {"sodipodi:insensitive", true},
     {"sodipodi:nonprintable", true},
     {"inkscape:groupmode", true},
-    {"sodipodi:version", true},
+    {"sodipodi:version", false},
     {"inkscape:version", true},
     {"inkscape:object-paths", true},
     {"inkscape:object-nodes", true},
@@ -355,9 +356,9 @@ struct {char const *attr; bool supported;} const all_attrs[] = {
     {"inkscape:snap-object-midpoints", true},
     {"inkscape:snap-bbox-edge-midpoints", true},
     {"inkscape:snap-bbox-midpoints", true},
-       //{"inkscape:snap-intersection-grid-guide", true},
-       {"inkscape:snap-grids", true},
-       {"inkscape:snap-to-guides", true},
+    //{"inkscape:snap-intersection-grid-guide", true},
+    {"inkscape:snap-grids", true},
+    {"inkscape:snap-to-guides", true},
     {"inkscape:snap-intersection-paths", true},
     {"inkscape:original-d", true},
     {"inkscape:pageopacity", true},
index f3a8dbd1fdf7cd16c548fef01705c20fb7c81e5a..d222cc49c72d1e1036789f63f32220f05298ca7f 100644 (file)
@@ -24,7 +24,6 @@ Shape::Plot (double ix, double iy, double ir, double mx, double my, bool doPoint
   fprintf(outFile,"\"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n");
   fprintf(outFile,"<svg:svg\n");
   fprintf(outFile,"   id=\"svg1\"\n");
-  fprintf(outFile,"   sodipodi:version=\"0.32\"\n");
   fprintf(outFile,"   inkscape:version=\"0.38cvs\"\n");
   fprintf(outFile,"   xmlns:svg=\"http://www.w3.org/2000/svg\"\n");
   fprintf(outFile,"   xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n");