[lasem] tests: force svg image to the same width as lasem output.



commit 4d8729cc88f49bcf7a13c7fdac6ce060c3818d92
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed Oct 17 22:19:37 2012 +0200

    tests: force svg image to the same width as lasem output.

 tests/lsmtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/lsmtest.c b/tests/lsmtest.c
index cad99d7..e3a1c44 100644
--- a/tests/lsmtest.c
+++ b/tests/lsmtest.c
@@ -337,7 +337,7 @@ lasem_test_render (char const *filename, gboolean compare, gboolean dry_run)
 		if (is_svg) {
 			lasem_test_html ("<object type=\"image/svg+xml\" data=\"");
 			lasem_test_html (filename);
-			lasem_test_html ("\" width=\"480\"/>");
+			lasem_test_html ("\" width=\"%dpx\"/>", width + 2);
 		}
 
 		lasem_test_html ("</td>");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]