aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-10 22:41:41 +0200
committerjaseg <git@jaseg.de>2022-06-10 22:42:31 +0200
commitf55cfb4b35ca9720e649b956046c4eaf0d7c64cb (patch)
tree75e99ee0bb100666bad6789452264fa901295c38 /svg-flatten/src
parent2e2a7e6a41c8825f6846b07e969bf25b8e437180 (diff)
downloadgerbolyze-f55cfb4b35ca9720e649b956046c4eaf0d7c64cb.tar.gz
gerbolyze-f55cfb4b35ca9720e649b956046c4eaf0d7c64cb.tar.bz2
gerbolyze-f55cfb4b35ca9720e649b956046c4eaf0d7c64cb.zip
svg-flatten: Make view box log output more readable
Diffstat (limited to 'svg-flatten/src')
-rw-r--r--svg-flatten/src/svg_doc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp
index 6767b84..fb8d311 100644
--- a/svg-flatten/src/svg_doc.cpp
+++ b/svg-flatten/src/svg_doc.cpp
@@ -54,7 +54,7 @@ bool gerbolyze::SVGDocument::load(istream &in) {
/* Set up the document's viewport transform */
istringstream vb_stream(root_elem.attribute("viewBox").value());
vb_stream >> vb_x >> vb_y >> vb_w >> vb_h;
- cerr << "loaded viewbox: " << vb_x << ", " << vb_y << ", " << vb_w << ", " << vb_h << endl;
+ cerr << "SVG document viewbox: origin=" << vb_x << "," << vb_y << ", size=" << vb_w << "," << vb_h << endl;
page_w = usvg_double_attr(root_elem, "width");
page_h = usvg_double_attr(root_elem, "height");