[librsvg] added tests for get_dimensions and get_dimensions_sub.



commit a00a156f44c6bcb69c0c78045c39896f2385ad47
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date:   Mon Apr 5 20:22:23 2010 +0900

    added tests for get_dimensions and get_dimensions_sub.

 tests/Makefile.am                              |   11 +-
 tests/dimensions.c                             |   62 ++
 tests/fixtures/dimensions/bug564527.svg        |  110 ++++
 tests/fixtures/dimensions/bug608102.svg        |   15 +
 tests/fixtures/dimensions/bug612951.svg        |  738 ++++++++++++++++++++++++
 tests/fixtures/dimensions/bug614018.svg        |  355 ++++++++++++
 tests/fixtures/dimensions/sub-rect-no-unit.svg |   13 +
 7 files changed, 1303 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4b07418..368f212 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,8 @@
 SUBDIRS=pdiff .
 
-TESTS = rsvg-test
+TESTS = 		\
+	rsvg-test	\
+	dimensions
 
 LDADD = $(top_builddir)/librsvg-2.la		\
 	$(top_builddir)/tests/pdiff/libpdiff.la
@@ -18,6 +20,13 @@ CLEANFILES = $(TESTS)
 DISTCLEANFILES = rsvg-test.html			\
 		 rsvg-test.log
 
+EXTRA_DIST =					\
+	fixtures/dimensions/bug564527.svg	\
+	fixtures/dimensions/bug614018.svg	\
+	fixtures/dimensions/bug612951.svg	\
+	fixtures/dimensions/bug608102.svg	\
+	fixtures/dimensions/sub-rect.svg
+
 test:
 	@$(MAKE) $(AM_MAKEFLAGS) check;
 
diff --git a/tests/dimensions.c b/tests/dimensions.c
new file mode 100644
index 0000000..a6d723f
--- /dev/null
+++ b/tests/dimensions.c
@@ -0,0 +1,62 @@
+/* vim: set ts=4 nowrap ai expandtab sw=4: */
+
+#include <glib.h>
+#include "rsvg.h"
+
+typedef struct _FixtureData
+{
+    const gchar *test_name;
+    const gchar *file_path;
+    const gchar *id;
+    gint width;
+    gint height;
+} FixtureData;
+
+static void
+test_dimensions (FixtureData *fixture)
+{
+    RsvgHandle *handle;
+    RsvgDimensionData dimension;
+    GError *error = NULL;
+
+    handle = rsvg_handle_new_from_file (fixture->file_path, &error);
+    g_assert_no_error (error);
+
+    if (fixture->id)
+        rsvg_handle_get_dimensions_sub (handle, &dimension, fixture->id);
+    else
+        rsvg_handle_get_dimensions (handle, &dimension);
+    g_assert_cmpint (fixture->width,  ==, dimension.width);
+    g_assert_cmpint (fixture->height, ==, dimension.height);
+
+    g_object_unref (handle);
+}
+
+static FixtureData fixtures[] =
+{
+    {"/dimensions/no viewbox, width and height", "fixtures/dimensions/bug608102.svg", NULL, 16, 16},
+    {"/dimensions/100% width and height", "fixtures/dimensions/bug612951.svg", NULL, 45, 45},
+    {"/dimensions/viewbox only", "fixtures/dimensions/bug614018.svg", NULL, 3, 2},
+    {"/dimensions/sub/rect no unit", "fixtures/dimensions/sub-rect-no-unit.svg", "#rect-no-unit", 44, 45},
+    {"/dimensions/sub/rect with transform", "fixtures/dimensions/bug564527.svg", "#back", 144, 203}
+};
+
+static const gint n_fixtures = G_N_ELEMENTS (fixtures);
+
+int
+main (int argc, char *argv[])
+{
+    gint i;
+    int result;
+
+    rsvg_init ();
+    g_test_init (&argc, &argv, NULL);
+
+    for (i = 0; i < n_fixtures; i++)
+        g_test_add_data_func (fixtures[i].test_name, &fixtures[i], (void*)test_dimensions);
+
+    result = g_test_run ();
+    rsvg_term ();
+
+    return result;
+}
diff --git a/tests/fixtures/dimensions/bug564527.svg b/tests/fixtures/dimensions/bug564527.svg
new file mode 100644
index 0000000..2d04794
--- /dev/null
+++ b/tests/fixtures/dimensions/bug564527.svg
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   version="1.0"
+   width="1683.7795pt"
+   height="1190.5511pt"
+   viewBox="0 0 1027 615"
+   id="svg2">
+  <defs
+     id="defs4">
+    <linearGradient
+       x1="242.5936"
+       y1="461.72623"
+       x2="312.97205"
+       y2="461.72623"
+       id="linearGradient2418"
+       xlink:href="#linearGradient3903-5"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(2.0493908,0,0,2.0493908,-474.70156,-822.9418)" />
+    <linearGradient
+       x1="-207.14067"
+       y1="237.6931"
+       x2="-74.877228"
+       y2="675.32776"
+       id="linearGradient2415"
+       xlink:href="#linearGradient5803-7"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.4887791,0,0,0.4849705,163.55657,-76.635216)" />
+    <radialGradient
+       cx="181.52547"
+       cy="25.464634"
+       r="25.37454"
+       fx="181.52547"
+       fy="25.464634"
+       id="radialGradient2412"
+       xlink:href="#linearGradient80481-5"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.9737882,1.3404163,-5.1259314,7.5480283,-177.63253,-257.30781)" />
+    <linearGradient
+       id="linearGradient3903-5">
+      <stop
+         id="stop3905-4"
+         style="stop-color:#f3f3f3;stop-opacity:1"
+         offset="0" />
+      <stop
+         id="stop3907-7"
+         style="stop-color:#8f8f8f;stop-opacity:1"
+         offset="1" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient5803-7">
+      <stop
+         id="stop5805-4"
+         style="stop-color:#004d00;stop-opacity:1"
+         offset="0" />
+      <stop
+         id="stop5807-5"
+         style="stop-color:#00bf00;stop-opacity:1"
+         offset="1" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient80481-5">
+      <stop
+         id="stop80483-6"
+         style="stop-color:#ffffff;stop-opacity:1"
+         offset="0" />
+      <stop
+         id="stop80485-9"
+         style="stop-color:#ffffff;stop-opacity:0"
+         offset="1" />
+    </linearGradient>
+    <filter
+       color-interpolation-filters="sRGB"
+       id="filter8603">
+      <feGaussianBlur
+         id="feGaussianBlur8605"
+         stdDeviation="1.8364226" />
+    </filter>
+  </defs>
+  <g
+     transform="matrix(0.48794988,0,0,0.48794988,932.13482,396.12943)"
+     id="back">
+    <rect
+       width="143.76929"
+       height="203.27394"
+       rx="8.1304178"
+       ry="8.1304178"
+       x="22.699371"
+       y="21.678707"
+       id="rect5766"
+       style="fill:url(#linearGradient2418);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.46365991;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    <rect
+       width="129.6032"
+       height="189.07808"
+       rx="2.6516504"
+       ry="2.6516504"
+       x="29.782429"
+       y="28.776648"
+       id="rect4616"
+       style="fill:url(#linearGradient2415);fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    <path
+       d="m 49.903423,215.48573 c 1.2647,-2.15358 -3.745753,-9.7691 -4.390102,-12.65175 c -0.08261,-0.23261 -0.08913,-0.48497 -0.134932,-0.72536 c -0.0845,-0.41232 -0.07015,-0.83238 -0.10124,-1.24829 c -0.01266,-0.73181 0.184773,-1.44482 0.303658,-2.15917 c 0.408055,-0.0328 0.725341,-0.37635 0.725341,-0.79283 c 0,-0.27386 -0.126222,-0.51516 -0.33737,-0.65788 c 0.16393,-0.5444 0.338805,-1.09304 0.506056,-1.63621 c 0.338825,-1.20937 0.903187,-2.3122 1.433835,-3.44119 c 0.762579,-1.45718 1.68546,-2.81812 2.597747,-4.1834 c 0.284517,-0.4345 0.587724,-0.86487 0.894046,-1.28202 c 0.08358,0.015 0.165099,0.0168 0.253018,0.0168 c 0.79666,0 1.450702,-0.63719 1.450702,-1.43381 c 0,-0.2076 -0.05595,-0.41203 -0.134952,-0.59043 c 0.35354,-0.42595 0.717656,-0.86238 1.079599,-1.28202 c 1.580203,-1.74655 3.344503,-3.3037 5.094314,-4.87497 c 1.926632,-1.77276 3.976187,-3.40159 6.03894,-5.01 c 2.455395,-1.90839 5.057015,-3.5983 7.658348,-5.29675 c 2.462466,-1.59439 4.959034,-3.12696 7.472755,-
 4.63882 c 0.110114,0.0269 0.235864,0.0337 0.354258,0.0337 c 0.796659,0 1.433815,-0.63718 1.433815,-1.43386 c 0,-0.79668 -0.637156,-1.4507 -1.433815,-1.4507 c -0.796681,0 -1.450703,0.65402 -1.450703,1.4507 c 0,0.65951 0.441296,1.21113 1.045845,1.38324 c -0.234327,0.13751 -0.474372,0.26691 -0.708474,0.40483 c -3.060499,1.82552 -6.100463,3.68042 -9.092184,5.61726 c -2.608485,1.70267 -5.22943,3.40096 -7.69204,5.31358 c -2.065991,1.60988 -4.109807,3.25171 -6.038981,5.02683 c -1.484845,1.33231 -2.966677,2.66265 -4.352086,4.09909 c -0.213321,-0.12453 -0.460703,-0.20242 -0.725341,-0.20242 c -0.79668,0 -1.450702,0.65402 -1.450702,1.4507 c 0,0.32157 0.1087,0.62023 0.286771,0.86027 c -0.862527,1.03954 -1.685644,2.10526 -2.429081,3.23876 c -0.91575,1.36835 -1.829061,2.74153 -2.597747,4.20033 c -0.114704,0.24266 -0.221744,0.48316 -0.337391,0.72532 c 0.06605,-1.45735 0.249145,-2.90627 0.438611,-4.35209 c 0.211046,-2.05001 0.714254,-4.03925 1.248263,-6.02209 c 0.500871,-1.81117 1.204919,-3
 .54061 1.973605,-5.24616 c 0.506117,-0.74661 1.225966,-2.04754 2.074844,-3.87976 c 0.132104,-0.28505 0.228589,-0.59902 0.337391,-0.89401 c 0.02314,-0.0745 0.0572,-0.14649 0.08433,-0.2193 c 1.029982,-1.87278 2.106978,-3.70651 3.188155,-5.54975 c 0.06408,-0.11421 0.137411,-0.22386 0.202418,-0.33737 c 0.405349,-0.56063 0.821048,-1.11317 1.231418,-1.67001 c 1.177457,-1.52007 2.429798,-2.991 3.677344,-4.45331 c 1.606579,-1.86812 3.337372,-3.62209 5.060561,-5.38106 c 1.933109,-1.99902 3.99664,-3.86886 6.055827,-5.7353 c 2.235865,-1.97199 4.459536,-3.9484 6.679969,-5.93774 c 2.351655,-2.11946 4.74354,-4.19884 7.118518,-6.292 c 2.680337,-2.32459 5.272713,-4.74194 7.8439,-7.18603 c 1.363623,-1.29788 2.710175,-2.60656 4.048469,-3.93034 c -0.269967,0.34233 1.293452,-0.85369 4.014717,-3.17131 c 2.6398,-2.24828 5.31823,-4.44693 8.08005,-6.545 c 1.96578,-1.48351 4.4445,-3.33421 5.41482,-3.71109 c 0.40064,-0.16662 0.79633,-0.35293 1.19764,-0.52295 c -0.0426,0.13625 -0.0843,0.27147 -0.0843,
 0.42175 c 0,0.79662 0.65402,1.4507 1.4507,1.4507 c 0.79668,0 1.43384,-0.65408 1.43384,-1.4507 c 0,-0.35756 -0.1387,-0.67563 -0.35424,-0.92782 c 5.33446,-0.38847 6.43548,-1.16859 0.65786,-0.79279 c -0.48192,0.0313 -0.92633,0.14838 -1.36635,0.32048 c -0.1196,-0.0321 -0.24142,-0.0337 -0.37111,-0.0337 c -0.56339,0 -1.04434,0.32171 -1.28201,0.79285 c -2.90983,1.44007 -5.54975,3.31302 -8.13065,5.26298 c -2.75377,2.09392 -5.41415,4.30153 -8.046325,6.54504 c -1.088165,0.92739 -1.813792,1.58577 -2.226642,1.97358 c 1.375551,-1.36498 2.741941,-2.7326 4.099067,-4.11596 c 2.98185,-2.99946 5.79808,-6.15682 8.53549,-9.37889 c 1.69684,-2.02931 3.3301,-4.11606 4.92563,-6.22451 c 0.26482,0.31786 0.66761,0.52292 1.11333,0.52292 c 0.79666,0 1.43382,-0.65402 1.43382,-1.4507 c 0,-0.58908 -0.35397,-1.09153 -0.8603,-1.31575 c 0.71461,-0.9685 1.4222,-1.94149 2.12545,-2.91823 c 3.02877,-4.155572 5.73182,-8.526062 8.24873,-13.005702 c 2.57082,-4.791046 5.01892,-9.681241 6.64624,-14.878106 c 1.23072,-4
 .538089 1.94292,-9.195022 2.68208,-13.83222 c 0.88728,-5.566248 -0.49991,-4.75721 -1.38322,0.809673 c -0.73577,4.637075 -1.44754,9.278822 -2.6821,13.815415 c -1.63332,5.197091 -4.08892,10.086159 -6.66308,14.878065 c -0.20143,0.358233 -0.42035,0.705892 -0.62414,1.062712 c -0.0741,-0.361615 -0.39256,-0.640988 -0.77596,-0.640988 c -0.43816,0 -0.79281,0.371534 -0.79283,0.809673 c 0,0.438139 0.35467,0.792868 0.79283,0.792868 c 0.0953,0 0.18522,-0.01984 0.2699,-0.05066 c -2.1961,3.79125 -4.53501,7.504992 -7.11856,11.04894 c -0.48291,0.67058 -0.96263,1.34043 -1.4507,2.00734 c -0.72724,0.0742 -1.29886,0.67027 -1.29886,1.41697 c 0,0.0996 0.0145,0.19289 0.0337,0.28679 c -1.94241,2.60916 -3.93341,5.17992 -6.02207,7.67517 c -2.74055,3.22283 -5.55162,6.37777 -8.535511,9.37894 c -2.805432,2.85892 -5.649782,5.69062 -8.552354,8.45117 c -2.57508,2.44659 -5.17672,4.8588 -7.860767,7.18603 c -2.376043,2.09366 -4.76594,4.1719 -7.118538,6.29194 c -2.222257,1.9904 -4.45929,3.96452 -6.696815,5.9377
 4 c -1.916979,1.73722 -3.835783,3.48605 -5.65099,5.33048 c -0.05349,-0.21068 -0.187068,-0.38364 -0.371104,-0.48917 c 0.709807,-0.73083 1.43359,-1.44377 2.159177,-2.15917 c 2.394939,-2.24905 4.856134,-4.43349 7.25347,-6.67997 c 2.823876,-2.65179 5.5767,-5.3756 8.299357,-8.13065 c 3.119582,-3.12276 5.969055,-6.47817 8.61984,-10.00308 c 2.968481,-4.07239 5.446953,-8.46409 7.843879,-12.88761 c 2.600246,-4.64575 4.642506,-9.54949 6.325716,-14.59128 c 1.64914,-5.428382 2.5601,-11.046848 3.25564,-16.666155 c 0.37451,-4.775142 0.32264,-9.570286 0.18555,-14.355203 c 0.30026,-0.264556 0.48919,-0.648284 0.48921,-1.079578 c 0,-0.467569 -0.22848,-0.883267 -0.57354,-1.147065 c -0.0186,-0.59004 -0.0321,-1.181433 -0.0506,-1.771166 c -0.0364,-0.996311 -0.0648,-1.989487 -0.10122,-2.985757 c -0.2043,-5.589693 -1.57496,-4.796743 -1.36637,0.792827 c 0.0372,0.99584 0.0641,1.989856 0.10122,2.985717 c 0.008,0.258571 0.0254,0.517348 0.0337,0.775961 c -0.54401,0.206804 -0.92776,0.73321 -0.92776,1.349
 483 c 0,0.646398 0.42599,1.165898 1.01214,1.349503 c 0.0743,2.474352 0.12855,4.947414 0.11806,7.422156 c -0.17266,-0.07308 -0.35749,-0.118045 -0.55667,-0.118045 c -0.79666,0 -1.45069,0.637114 -1.45069,1.433794 c 0,0.796681 0.65401,1.450703 1.45069,1.450703 c 0.1804,0 0.34683,-0.0407 0.50607,-0.10122 c -0.0425,1.596496 -0.10823,3.196886 -0.23617,4.790677 c -0.44711,3.605124 -1.00531,7.210474 -1.77119,10.76215 c 0.0398,-1.693268 0.0616,-3.400267 0.0169,-5.094314 c -0.12602,-4.022421 -0.37135,-8.03478 -0.89405,-12.02726 c -0.43285,-2.725526 -0.84082,-5.458675 -1.61938,-8.113804 c -0.39291,-1.340097 -0.75602,-2.694171 -1.349468,-3.964096 c -0.209038,-0.346081 -0.328702,-0.78256 -0.641029,-1.062753 c -4.546799,-4.078943 -6.073595,-3.154074 -1.484436,0.877181 c 0.315279,0.276913 0.428385,0.68509 0.641029,1.028999 c 0.606559,1.261625 0.964772,2.628815 1.366329,3.964095 c 0.789575,2.648182 1.211625,5.376475 1.653125,8.096897 c 0.53585,3.987439 0.79813,8.008466 0.92778,12.027342 c 0.
 0618,2.23896 0.0135,4.475706 -0.0506,6.713681 c -0.0375,1.31118 0.008,2.25695 0.10122,2.9014 c -0.0549,0.18619 -0.1121,0.3709 -0.16869,0.55664 c -0.91964,2.75026 -1.95655,5.44662 -3.12071,8.09692 c -0.248488,-0.43577 -0.711056,-0.72532 -1.248284,-0.72532 c -0.796639,0 -1.433794,0.63711 -1.433794,1.43381 c 0,0.79668 0.637155,1.45068 1.433794,1.45068 c 0.09413,0 0.197685,-0.0165 0.286792,-0.0337 c -0.701875,1.47974 -1.440968,2.93553 -2.24353,4.36899 c -2.399918,4.42642 -4.887018,8.83087 -7.860766,12.90442 c -2.654924,3.52735 -5.513496,6.87774 -8.636706,10.00312 c -2.726756,2.75758 -5.470972,5.49364 -8.299316,8.1475 c -2.400882,2.24785 -4.872611,4.42873 -7.270378,6.67995 c -0.413997,0.40811 -0.820617,0.81988 -1.231376,1.23143 c -0.341695,0.0543 -0.60871,0.33133 -0.657896,0.67472 c -1.491669,1.5217 -2.945835,3.07528 -4.200267,4.80755 c -1.611026,2.23203 -3.179056,4.49519 -4.554505,6.88236 c -0.520668,0.7136 -1.014858,1.43228 -1.467589,2.19291 c -0.467343,0.79201 -0.98547,1.56342
  -1.383216,2.39535 c -0.253079,0.55998 -0.573358,1.09698 -0.759074,1.68684 c -0.0062,0.0165 -0.01086,0.0341 -0.01689,0.0507 c -0.395778,0.72569 -0.791925,1.45435 -1.163931,2.19291 c -0.47718,1.00131 -0.935178,2.00533 -1.383236,3.01945 c 0.03617,-0.16816 0.06533,-0.33787 0.101219,-0.50606 c 0.294703,-1.40953 0.764403,-2.7802 1.197685,-4.14967 c 0.567333,-1.63521 1.246009,-3.2159 1.923005,-4.80754 c 0.835659,-1.94 1.700256,-3.86776 2.547147,-5.80279 c 1.15725,-2.61113 2.461134,-5.15875 3.744831,-7.70897 c 1.636992,-3.12161 3.084497,-6.32542 4.470193,-9.56444 c 1.658244,-3.94555 3.284825,-7.90579 4.925608,-11.85864 c 1.726837,-4.06497 3.370059,-8.16391 4.925629,-12.29716 c 0.345261,-0.0861 0.607275,-0.4042 0.607275,-0.77596 c 0,-0.17722 -0.05357,-0.34024 -0.151819,-0.47233 c 1.56803,-4.33399 2.9568,-8.73294 4.301467,-13.14065 c 1.552249,-5.12311 2.891998,-10.301959 3.930383,-15.552826 C 80.71169,87.310986 80.94862,81.111005 80.886728,74.936416 C 80.695602,68.649111 79.964318,62
 .399801 79.199875,56.16166 C 78.727654,52.407647 78.16233,48.66548 77.580487,44.927187 C 77.320542,43.257015 77.015859,42.173215 76.73706,41.604099 c 0.145097,0.04908 0.293842,0.08431 0.455457,0.08431 c 0.796639,0 1.450682,-0.654001 1.450682,-1.450681 c 0,-0.796681 -0.654002,-1.433795 -1.450682,-1.433795 c -0.79668,0 -1.433836,0.637114 -1.433836,1.433795 c 0,0.381863 0.145548,0.737042 0.38797,0.995286 c -0.282467,0.393873 -0.351163,1.931162 0.0506,4.487039 c 0.260088,1.654412 0.513311,3.319562 0.759094,4.976187 c -0.142043,-0.133538 -0.346449,-0.202418 -0.556676,-0.202418 c -0.438139,0 -0.792807,0.354647 -0.792807,0.792868 c 0,0.438139 0.354668,0.792786 0.792807,0.792786 c 0.302798,0 0.574649,-0.172189 0.708495,-0.421682 c 0.257158,1.76348 0.500666,3.528641 0.725341,5.296712 c 0.05568,0.450579 0.113454,0.898719 0.168685,1.349483 c -0.198237,-0.102531 -0.419428,-0.168686 -0.657875,-0.168686 c -0.796659,0 -1.450702,0.654043 -1.450702,1.450723 c 0,0.796619 0.654043,1.433774 1.4
 50702,1.433774 c 0.359259,0 0.675111,-0.136776 0.92776,-0.354216 c 0.593257,5.003587 1.114171,10.025148 1.26517,15.063637 c 0.05952,6.178196 -0.193831,12.373053 -1.26517,18.471118 C 77.22748,99.45301 75.899413,104.6452 74.341712,109.77001 c -1.241419,4.0654 -2.539523,8.10641 -3.964116,12.11164 c -0.240066,0.13657 -0.38797,0.39582 -0.38797,0.69163 c 0,0.0979 0.01814,0.2001 0.0506,0.28675 c -0.100318,0.27707 -0.201885,0.54997 -0.303638,0.82658 c -1.608341,4.28716 -3.30249,8.55536 -5.094314,12.76951 c -1.644247,3.95618 -3.277939,7.91087 -4.942475,11.85861 c -1.390655,3.24222 -2.845927,6.45636 -4.487038,9.58135 c -1.288268,2.55338 -2.598197,5.09524 -3.761698,7.70893 c -0.852342,1.93715 -1.70829,3.87653 -2.547167,5.81968 c -0.67839,1.59272 -1.370305,3.17151 -1.939892,4.8075 c -0.435639,1.37049 -0.90204,2.73856 -1.197644,4.14967 c -0.253141,1.18167 -0.518537,2.36821 -0.725361,3.5593 c -0.105011,0.51849 -0.196414,1.03744 -0.320504,1.55192 c -0.611703,2.53581 -0.671709,3.82316 -0.43
 857,4.01473 c -0.06882,0.42886 -0.123722,0.86476 -0.168685,1.29885 c -0.223343,1.69242 -0.461564,3.38424 -0.48919,5.09431 c -0.0043,0.78512 0.0014,1.57639 0,2.3616 c -0.183113,0.58475 -0.351962,1.17323 -0.48921,1.77122 c -0.03836,0.23869 -0.08755,0.47044 -0.134952,0.70848 l -7.084785,0 c 4.753766,1.3752 8.481547,0.97538 13.988321,14.74346 z m 1.39582,-11.15047 c 0.43816,0 0.792827,-0.35465 0.792827,-0.79281 c 0,-0.4382 -0.354667,-0.79285 -0.792827,-0.79285 c -0.43816,0 -0.792827,0.35465 -0.792827,0.79285 c 0,0.43816 0.354667,0.79281 0.792827,0.79281 z M 40.250321,200.3037 c 0.79666,0 1.450682,-0.65409 1.450703,-1.45071 c 0,-0.79668 -0.654022,-1.45076 -1.450703,-1.4507 c -0.79668,0 -1.433835,0.65402 -1.433835,1.4507 c 0,0.79662 0.637196,1.45071 1.433835,1.45071 z m 7.79328,-1.7375 c 0.79666,0 1.450682,-0.65402 1.450703,-1.4507 c 0,-0.79668 -0.654023,-1.43379 -1.450703,-1.43379 c -0.79668,0 -1.433836,0.63711 -1.433836,1.43379 c 0,0.79668 0.637197,1.4507 1.433836,1.4507 z M 37.
 87186,194.51775 c 0.43816,0 0.792827,-0.35464 0.792827,-0.79278 c 0,-0.43822 -0.354667,-0.79287 -0.792827,-0.79287 c -0.43816,0 -0.792827,0.35465 -0.792827,0.79287 c 0,0.43814 0.354667,0.79278 0.792827,0.79278 z m 3.609858,-1.29886 c 0.438181,0 0.792828,-0.35469 0.792828,-0.79285 c 0,-0.43814 -0.354627,-0.79278 -0.792828,-0.79278 c -0.438139,0 -0.792806,0.35464 -0.792806,0.79278 c 0,0.43816 0.354667,0.79279 0.792806,0.79285 z m 13.629843,-1.72059 c 0.796639,0 1.450661,-0.65406 1.450661,-1.4507 c 0,-0.79668 -0.654022,-1.43385 -1.450661,-1.43385 c -0.79668,0 -1.433836,0.63717 -1.433836,1.43385 c 0,0.79664 0.637156,1.4507 1.433836,1.4507 z m 3.390553,-2.46281 c 0.43818,0 0.792848,-0.35471 0.792848,-0.79285 c 0,-0.43814 -0.354668,-0.7928 -0.792848,-0.7928 c -0.438139,0 -0.792807,0.35466 -0.792807,0.7928 c 0,0.43814 0.354668,0.79285 0.792807,0.79285 z m -19.837427,-1.58565 c 0.79666,0 1.450702,-0.63716 1.450702,-1.43384 c 0,-0.7967 -0.654042,-1.4507 -1.450702,-1.4507 c -0.796659,
 0 -1.450723,0.654 -1.450723,1.4507 c 0,0.79668 0.654064,1.43377 1.450723,1.43384 z m 3.323108,-4.18341 c 0.79666,0 1.433836,-0.65408 1.433836,-1.4507 c 0,-0.79668 -0.637176,-1.43387 -1.433836,-1.43387 c -0.79668,0 -1.450702,0.63719 -1.450702,1.43387 c 0,0.79662 0.654022,1.45064 1.450702,1.4507 z m 18.690362,-0.57354 c 0.43818,0 0.792848,-0.35471 0.792848,-0.79285 c 0,-0.43816 -0.354668,-0.79284 -0.792848,-0.79278 c -0.438139,0 -0.792807,0.35462 -0.792807,0.79278 c 0,0.43814 0.354668,0.79285 0.792807,0.79285 z m 10.458533,-1.2989 c 0.79666,0 1.450702,-0.65402 1.450682,-1.4507 c 0,-0.79668 -0.654022,-1.43386 -1.450682,-1.43382 c -0.79668,0 -1.450702,0.63714 -1.450702,1.43382 c 0,0.79668 0.654022,1.4507 1.450702,1.4507 z m -15.434741,-1.73743 c 0.79666,0 1.433816,-0.6372 1.433836,-1.43388 c 0,-0.79666 -0.637156,-1.4507 -1.433836,-1.4507 c -0.79668,0 -1.450702,0.65404 -1.450702,1.4507 c 0,0.79668 0.654022,1.43381 1.450702,1.43388 z m 5.65097,-0.35426 c 0.06525,0.0143 1.692448,-1
 .10065 4.352086,-3.0532 c 1.134768,-0.83312 2.237259,-1.71077 3.441194,-2.44597 c 0.49835,-0.29067 3.664782,-2.17234 5.262979,-2.80021 c 0.369915,-0.16602 0.743006,-0.32403 1.113331,-0.48915 c -0.210329,0.25075 -0.33735,0.55822 -0.33735,0.91092 c 0,0.79664 0.637156,1.45064 1.433795,1.4507 c 0.79668,0 1.450702,-0.65406 1.450702,-1.4507 c 0,-0.76711 -0.610616,-1.37148 -1.366329,-1.41697 c 1.261605,-0.55279 2.525096,-1.11026 3.812277,-1.60254 c 1.441398,-0.58045 2.883657,-1.16603 4.33524,-1.72059 c 0.617994,-0.23169 1.238939,-0.4564 1.855539,-0.69159 c 5.6962,-2.17295 7.177479,-3.04146 1.484415,-0.86033 c -0.622031,0.23832 -1.24896,0.47367 -1.872405,0.70849 c -1.457322,0.55869 -2.887756,1.13696 -4.33522,1.72061 c -2.07011,0.79279 -4.10204,1.70687 -6.123293,2.61463 c -2.835639,1.26929 -5.500667,2.86562 -8.164383,4.45331 c -1.202235,0.73413 -2.308168,1.61377 -3.441194,2.44593 c -2.068286,1.51904 -2.952147,2.21553 -2.901384,2.22666 z m -20.090485,-1.51819 c 0.79668,0 1.450702,-0.6
 5402 1.450702,-1.4507 c 0,-0.79668 -0.654022,-1.4338 -1.450702,-1.4338 c -0.79666,0 -1.450682,0.63712 -1.450682,1.4338 c 0,0.79668 0.654022,1.4507 1.450682,1.4507 z m 31.527377,-1.58566 c 0.438159,0 0.792827,-0.35462 0.792827,-0.79278 c 0,-0.43822 -0.354668,-0.79287 -0.792827,-0.79287 c -0.43816,0 -0.792828,0.35465 -0.792828,0.79287 c 0,0.43816 0.354668,0.79278 0.792828,0.79278 z m -26.180046,-2.02422 c 0.796681,0 1.433836,-0.654 1.433836,-1.4507 c 0,-0.79668 -0.637155,-1.4338 -1.433836,-1.4338 c -0.796639,0 -1.450702,0.63712 -1.450702,1.4338 c 0,0.7967 0.654063,1.4507 1.450702,1.4507 z m 7.793301,-0.43857 c 0.79666,0 1.433836,-0.6372 1.433836,-1.43381 c 0,-0.79668 -0.637176,-1.45075 -1.433836,-1.45069 c -0.79666,0 -1.450723,0.65401 -1.450723,1.45069 c 0,0.79661 0.654063,1.43381 1.450723,1.43381 z m -19.567563,-1.14708 c 0.43818,0 0.792848,-0.35463 0.792827,-0.79279 c 0,-0.4382 -0.354647,-0.79287 -0.792827,-0.79287 c -0.43816,0 -0.792807,0.35467 -0.792807,0.79287 c 0,0.43816
  0.354647,0.79279 0.792807,0.79279 z m 50.369579,-2.74955 c 0.43818,0 0.792807,-0.35469 0.792807,-0.79285 c 0,-0.43816 -0.354627,-0.79278 -0.792807,-0.79278 c -0.438181,0 -0.792848,0.35462 -0.792848,0.79278 c 0,0.43816 0.354667,0.79285 0.792848,0.79285 z M 67.965401,169.7041 c 0.79666,0 1.433836,-0.65408 1.433836,-1.4507 c 0,-0.79668 -0.637176,-1.43388 -1.433836,-1.43388 c -0.796659,0 -1.450722,0.6372 -1.450722,1.43388 c 0,0.79662 0.654063,1.45064 1.450722,1.4507 z m 25.47153,-1.29892 c 0.43818,0 0.792828,-0.35465 0.792848,-0.79279 c 0,-0.43822 -0.354668,-0.79287 -0.792848,-0.79287 c -0.02168,0 -0.04621,-0.002 -0.06747,0 c 0.261236,-0.26119 0.421724,-0.61379 0.421703,-1.01209 c 0,-0.79668 -0.637155,-1.4507 -1.433794,-1.4507 c -0.796681,0 -1.450723,0.65402 -1.450723,1.4507 c 0,0.79668 0.654042,1.43386 1.450723,1.43386 c 0.142801,0 0.274515,-0.0119 0.404836,-0.0507 c -0.07296,0.12002 -0.118086,0.2711 -0.118086,0.42177 c 0,0.43814 0.354668,0.79279 0.792807,0.79279 z m 4.976249,
 -3.32307 c 0.79666,0 1.450682,-0.65406 1.450682,-1.4507 c 0,-0.79668 -0.654002,-1.43386 -1.450682,-1.43386 c -0.79668,0 -1.450702,0.63718 -1.450702,1.43386 c 0,0.79664 0.654022,1.45064 1.450702,1.4507 z m -49.205627,0 c 0.796659,0 1.433815,-0.65406 1.433815,-1.4507 c 0,-0.79668 -0.637156,-1.43386 -1.433815,-1.43386 c -0.79668,0 -1.450703,0.63718 -1.450703,1.43386 c 0,0.79664 0.654023,1.45064 1.450703,1.4507 z m 11.386272,-0.15186 c 0.79668,0 1.450702,-0.63716 1.450702,-1.4338 c 0,-0.79668 -0.654022,-1.45074 -1.450702,-1.4507 c -0.79666,0 -1.433816,0.65402 -1.433816,1.4507 c 0,0.79664 0.637156,1.4338 1.433816,1.4338 z m 41.496695,-0.13495 c 0.43816,0 0.79283,-0.35465 0.79283,-0.79279 c 0,-0.4382 -0.35464,-0.79287 -0.79283,-0.79287 c -0.43815,0 -0.79282,0.35467 -0.79282,0.79287 c 0,0.43814 0.35467,0.79279 0.79282,0.79279 z m -31.021296,-1.0121 c 0.438139,0 0.792807,-0.35464 0.792807,-0.79282 c 0,-0.43818 -0.354668,-0.79283 -0.792807,-0.79283 c -0.43818,0 -0.792848,0.35465 -0.7
 92848,0.79283 c 0,0.43818 0.354668,0.79282 0.792848,0.79282 z m -13.208098,-0.94466 c 0.477303,-0.6837 0.945568,-1.36447 1.433836,-2.04107 c 0.880951,-1.21675 1.851501,-2.36065 2.86763,-3.45808 c 0.106569,0.17534 0.285234,0.30247 0.48919,0.35428 c -1.550344,1.57899 -3.092285,3.16417 -4.537638,4.84125 c -0.08599,0.10069 -0.167108,0.20285 -0.253018,0.30362 z m 27.445155,-2.176 c 1.38422,-0.78644 2.984712,-1.68833 4.67259,-2.6315 c 1.18752,-0.64591 2.379855,-1.29669 3.55928,-1.95676 c 0.13032,0.0387 0.262014,0.0506 0.404836,0.0506 c 0.665192,0 1.216334,-0.45019 1.383237,-1.06269 c 1.656276,-0.93754 3.311344,-1.88184 4.959366,-2.83392 c -0.5168,0.29546 -2.69731,1.52454 -4.9425,2.78328 c 0.02447,-0.10526 0.03373,-0.20781 0.03373,-0.32047 c 0,-0.79668 -0.637156,-1.45072 -1.433836,-1.45072 c -0.796659,0 -1.450682,0.65404 -1.450682,1.45072 c 0,0.62935 0.416068,1.16914 0.97838,1.36633 c -0.383851,0.21105 -0.841214,0.46993 -1.130198,0.62416 c -2.353029,1.31481 -4.69579,2.64019 -7.0342
 06,3.98099 z M 103.828,160.4601 c 0.43814,0 0.79281,-0.35469 0.79281,-0.79283 c 0,-0.43818 -0.35467,-0.79281 -0.79281,-0.79281 c -0.43818,0 -0.79285,0.35463 -0.79285,0.79281 c 0,0.43814 0.35465,0.79283 0.79285,0.79283 z m -55.210856,-2.15918 c 0.796659,0 1.450702,-0.65406 1.450702,-1.4507 c 0,-0.15594 -0.03855,-0.2979 -0.08435,-0.43857 c 0.05166,0.0106 0.09704,0.0168 0.151819,0.0168 c 0.43818,0 0.792807,-0.35464 0.792807,-0.79278 c 0,-0.43822 -0.354627,-0.80972 -0.792807,-0.80972 c -0.427318,0 -0.775797,0.35277 -0.792807,0.77598 c -0.212296,-0.12288 -0.462609,-0.18561 -0.725361,-0.18561 c -0.79666,0 -1.433836,0.6372 -1.433836,1.43386 c 0,0.79664 0.637156,1.4507 1.433836,1.4507 z m -4.689457,-0.15182 c 0.43816,0 0.792807,-0.35465 0.792807,-0.79281 c 0,-0.43822 -0.354647,-0.79284 -0.792807,-0.79284 c -0.43818,0 -0.792848,0.35462 -0.792848,0.79284 c 0,0.43816 0.354668,0.79281 0.792848,0.79281 z m 10.036789,-5.48228 c 0.796659,0 1.433836,-0.63718 1.433836,-1.43386 c 0,-0.79668 -
 0.637177,-1.4507 -1.433836,-1.4507 c -0.79668,0 -1.450703,0.65402 -1.450703,1.4507 c 0,0.79668 0.654023,1.43386 1.450703,1.43386 z m 60.979894,-0.28677 c 0.43818,0 0.79284,-0.35465 0.79284,-0.79281 c 0,-0.4382 -0.35466,-0.79285 -0.79284,-0.79285 c -0.43816,0 -0.79281,0.35465 -0.79281,0.79285 c 0,0.43816 0.35465,0.79281 0.79281,0.79281 z m -14.08526,-0.48917 c 0.7189,-0.41591 1.44084,-0.83134 2.15917,-1.24829 c 3.61652,-2.0972 7.04288,-4.48044 10.37418,-7.00049 c 1.68173,-1.29204 3.31084,-2.64046 4.8919,-4.04845 c 0.20275,0.55194 0.72753,0.94465 1.34948,0.94465 c 0.79666,0 1.43382,-0.63718 1.43382,-1.43382 c 0,-0.57924 -0.33377,-1.08605 -0.82654,-1.31575 c 1.14194,-1.07165 2.25779,-2.15545 3.35684,-3.27249 c 0.80106,-0.81338 1.57676,-1.65756 2.32786,-2.51345 c 0.0384,-0.0347 0.0797,-0.0665 0.11809,-0.10122 c 2.32185,-2.09872 4.64461,-4.17233 6.91612,-6.32569 c 0.0361,-0.0365 0.0651,-0.0816 0.10122,-0.11809 c 0.10015,0.69909 0.70714,1.23144 1.43379,1.23144 c 0.79668,0 1.45072,
 -0.6372 1.45072,-1.43386 c 0,-0.73823 -0.56667,-1.34843 -1.28199,-1.43381 c 1.30931,-1.37965 2.55665,-2.80941 3.59297,-4.41957 c 1.36213,-2.00246 2.71024,-4.01509 4.01471,-6.05583 c 1.2934,-2.03568 2.58156,-4.07595 3.82919,-6.14018 c 0.72251,-1.20068 1.45199,-2.39031 2.14229,-3.60986 c -0.0192,0.0939 -0.0337,0.18719 -0.0337,0.28679 c 0,0.79662 0.63719,1.45071 1.43383,1.45071 c 0.79668,0 1.4507,-0.65409 1.4507,-1.45071 c 0,-0.79668 -0.65402,-1.43387 -1.4507,-1.43387 c -0.39008,0 -0.7354,0.15309 -0.99522,0.40485 c 0.1928,-0.35147 0.38893,-0.70671 0.57352,-1.06269 c 0.5294,-1.12446 1.10275,-2.236252 1.48443,-3.424345 c 0.17045,-0.448796 0.28643,-0.904253 0.50606,-1.332596 c 0.33493,-0.653325 0.61137,-1.211948 0.82654,-1.686874 c 0.69038,-0.107798 1.21455,-0.696547 1.21455,-1.416928 c 0,-0.597561 -0.35922,-1.113434 -0.87716,-1.332657 c 0.34153,-0.08868 0.59041,-0.389959 0.59041,-0.759054 c 0,-0.438221 -0.35467,-0.792868 -0.79285,-0.792868 c -0.43814,0 -0.79281,0.354647 -0.79281,
 0.792868 c 0,0.27384 0.14309,0.515156 0.35424,0.657834 c -0.75799,0.0432 -1.36635,0.665089 -1.36635,1.433877 c 0,0.569895 0.32967,1.06429 0.8097,1.298822 c -0.42775,0.710216 -0.902,1.569587 -1.45071,2.665253 c -0.21367,0.426663 -0.34013,0.886444 -0.50605,1.332637 c -0.3744,1.184961 -0.94346,2.286321 -1.46757,3.407461 c -0.95213,1.84912 -2.0338,3.63283 -3.1038,5.41478 c -1.24603,2.06486 -2.53565,4.10491 -3.82917,6.14016 c -1.30429,2.0401 -2.65332,4.05371 -4.01473,6.05584 c -0.86515,1.34555 -1.87977,2.55678 -2.95201,3.72793 c -0.32501,0.16399 -0.58176,0.43105 -0.70847,0.77596 c -0.52991,0.5568 -1.07845,1.10632 -1.61939,1.65312 c -1.29935,1.23258 -2.61951,2.44144 -3.94725,3.64361 c 1.8514,-2.27183 3.56994,-4.65011 5.22927,-7.0679 c 2.98444,-4.23086 5.17309,-8.89614 6.96672,-13.73102 c 0.0875,-0.24525 0.15337,-0.49597 0.23615,-0.74223 c 0.13466,0.65741 0.71987,1.16391 1.41697,1.16391 c 0.79666,0 1.43383,-0.65402 1.43383,-1.4507 c 0,-0.79668 -0.63717,-1.4507 -1.43383,-1.4507 c -0
 .3765,0 -0.72133,0.15157 -0.9784,0.38801 c 1.38918,-4.6283 2.00543,-9.419573 2.36163,-14.237076 c 0.50225,-4.961944 0.0596,-9.889089 -0.57356,-14.810619 c -1.18293,-9.195391 -3.44814,-7.898045 -2.27724,1.298863 c 0.6272,4.926366 1.04697,9.862201 0.55666,14.827506 c -0.41011,5.549791 -1.16767,11.077016 -3.05321,16.345616 c -1.79697,4.83683 -3.98174,9.51421 -6.96674,13.74793 c -2.50593,3.64902 -5.15624,7.20508 -8.18125,10.44162 c -1.70866,1.5144 -3.43629,3.02539 -5.16178,4.52077 c -1.25023,1.10438 -2.5777,2.11385 -3.87978,3.15447 c -4.55131,3.63728 -3.11762,2.81055 1.43383,-0.82661 c 1.18025,-0.94317 2.38002,-1.86482 3.52555,-2.85076 c -0.007,0.0282 -0.0117,0.0555 -0.0169,0.0843 c -2.28654,2.161 -4.67009,4.23792 -7.16913,6.15705 c -3.27218,2.47468 -6.64343,4.81199 -10.18863,6.88239 z m -7.995701,-0.37113 c 0.43818,0 0.792827,-0.35469 0.792827,-0.79285 c 0,-0.43813 -0.354647,-0.79284 -0.792827,-0.79278 c -0.43816,0 -0.792827,0.35465 -0.792827,0.79278 c 0,0.43816 0.354667,0.7928
 5 0.792827,0.79285 z m 14.439491,-0.59041 c 0.36162,-0.0741 0.64103,-0.40942 0.64103,-0.7928 c 0,-0.43822 -0.35466,-0.79285 -0.79284,-0.79285 c -0.43816,0 -0.79281,0.35463 -0.79281,0.79285 c 0,0.43816 0.35465,0.7928 0.79281,0.7928 c 0.0548,0 0.10017,0.0106 0.15181,0 z m -31.982809,-0.4217 c 0.79666,0 1.450702,-0.65406 1.450702,-1.4507 c 0,-0.79668 -0.654042,-1.43386 -1.450702,-1.43386 c -0.79668,0 -1.433836,0.63718 -1.433836,1.43386 c 0,0.79664 0.637156,1.4507 1.433836,1.4507 z m 4.402706,-0.43857 c 0.43816,0 0.792828,-0.35471 0.792807,-0.79287 c 0,-0.43814 -0.354647,-0.79282 -0.792807,-0.79278 c -0.43818,0 -0.792827,0.35464 -0.792827,0.79278 c 0,0.43816 0.354647,0.79287 0.792827,0.79287 z m 20.933893,-3.60988 c 0.43818,0 0.79285,-0.35471 0.79283,-0.79287 c 0,-0.43814 -0.35465,-0.79278 -0.79283,-0.79278 c -0.43816,0 -0.792828,0.35464 -0.792828,0.79278 c 0,0.43816 0.354668,0.79287 0.792828,0.79287 z m 7.13542,-0.42172 c 0.79666,0 1.45071,-0.65404 1.45069,-1.45072 c 0,-0.79666
  -0.65403,-1.45071 -1.45069,-1.45071 c -0.79668,0 -1.43383,0.65405 -1.43383,1.45071 c 0,0.79668 0.63715,1.45072 1.43383,1.45072 z m -50.943117,-0.59041 c 0.79668,0 1.450703,-0.63716 1.450703,-1.43386 c 0,-0.79668 -0.654023,-1.45068 -1.450703,-1.45068 c -0.796659,0 -1.450681,0.654 -1.450681,1.45068 c 0,0.7967 0.654022,1.43386 1.450681,1.43386 z m 68.334617,-1.43386 c 0.43816,0 0.79281,-0.35464 0.79281,-0.79278 c 0,-0.4382 -0.35465,-0.79283 -0.79281,-0.79283 c -0.43818,0 -0.79282,0.35463 -0.79282,0.79283 c 0,0.43814 0.35464,0.79278 0.79282,0.79278 z m -50.875631,-0.28673 c 0.79666,0 1.450702,-0.65404 1.450702,-1.45068 c 0,-0.79668 -0.654042,-1.43386 -1.450702,-1.43386 c -0.79666,0 -1.433836,0.63718 -1.433815,1.43386 c 0,0.79664 0.637155,1.45068 1.433815,1.45068 z m -21.574921,-2.46281 c 0.438181,0 0.792848,-0.35469 0.792848,-0.79283 c 0,-0.43816 -0.354667,-0.79283 -0.792848,-0.79283 c -0.438139,0 -0.792807,0.35467 -0.792807,0.79283 c 0,0.43814 0.354668,0.79283 0.792807,0.79283
  z m 58.230322,-0.13495 c 0.79668,0 1.45071,-0.65407 1.45071,-1.45071 c 0,-0.79666 -0.65405,-1.43385 -1.45071,-1.43385 c -0.79664,0 -1.43379,0.63719 -1.43383,1.43385 c 0,0.79664 0.63715,1.45071 1.43383,1.45071 z M 59.160009,139.678 c 0.79666,0 1.433816,-0.63715 1.433816,-1.43385 c 0,-0.49788 -0.24021,-0.93821 -0.624142,-1.19763 c 0.04367,-0.0983 0.05062,-0.20604 0.05062,-0.32052 c 0,-0.43814 -0.354668,-0.79287 -0.792828,-0.79281 c -0.43816,0 -0.792827,0.35467 -0.792827,0.79281 c 0,0.0913 0.02221,0.17139 0.0506,0.25306 c -0.453366,0.24338 -0.77594,0.71478 -0.77594,1.26509 c 0,0.7967 0.654022,1.43381 1.450702,1.43385 z m 31.17312,-1.29888 c 0.79666,0 1.433815,-0.63718 1.433815,-1.43382 c 0,-0.79668 -0.637155,-1.4507 -1.433815,-1.4507 c -0.79668,0 -1.450702,0.65402 -1.450702,1.4507 c 0,0.79664 0.654022,1.43382 1.450702,1.43382 z M 63.748247,137.8562 c 0.334583,-0.0274 0.991639,-1.66013 1.551922,-4.63886 c 0.568583,-3.02308 1.112757,-6.04943 1.450681,-9.10905 c 0.386003,-3.77164
  0.626745,-7.55906 0.506077,-11.35252 c -0.14772,-2.83353 -0.325976,-5.66632 -0.809714,-8.46802 c -0.301117,-1.88913 -0.58504,-3.77916 -1.062712,-5.634103 C 65.173065,97.933921 65.01889,97.200198 64.709739,96.511316 c -2.497654,-5.565838 -4.075521,-4.662651 -1.484415,0.860293 c 0.320197,0.68255 0.457814,1.4091 0.674742,2.125465 c 0.493985,1.847646 0.789569,3.749236 1.096444,5.634086 c 0.490358,2.7976 0.672487,5.62084 0.826581,8.45115 c 0.128374,3.78855 -0.0945,7.56791 -0.472323,11.33569 c -0.331468,3.05804 -0.883267,6.08813 -1.450702,9.10901 c -0.493719,2.62843 -0.447054,3.85327 -0.151819,3.82919 z m 30.835769,-0.0506 c 0.43816,0 0.792807,-0.35465 0.792807,-0.79279 c 0,-0.4382 -0.354668,-0.79287 -0.792807,-0.79287 c -0.43818,0 -0.792827,0.35467 -0.792848,0.79287 c 0,0.43814 0.354668,0.79279 0.792848,0.79279 z m -23.666611,-0.57352 c 0.43814,0 0.792807,-0.35465 0.792807,-0.79279 c 0,-0.43822 -0.354626,-0.79287 -0.792807,-0.79287 c -0.43818,0 -0.792848,0.35465 -0.792848,0.7928
 7 c 0,0.43814 0.354668,0.79279 0.792848,0.79279 z m 9.463247,-2.59777 c 0.79668,0 1.433836,-0.65402 1.433836,-1.4507 c 0,-0.79668 -0.637156,-1.43386 -1.433836,-1.4338 c -0.79666,0 -1.450682,0.63712 -1.450682,1.4338 c 0,0.79668 0.654022,1.4507 1.450682,1.4507 z m 40.265308,-1.16391 c 0.79668,0 1.43383,-0.63718 1.43383,-1.43386 c 0,-0.79668 -0.63715,-1.45068 -1.43383,-1.45068 c -0.79666,0 -1.45071,0.654 -1.45071,1.45068 c 0,0.79668 0.65405,1.43386 1.45071,1.43386 z m 16.22758,-3.32313 c 0.43814,0 0.79281,-0.35465 0.79281,-0.79281 c 0,-0.43818 -0.35467,-0.79284 -0.79281,-0.79284 c -0.43818,0 -0.79284,0.35466 -0.79284,0.79284 c 0,0.43816 0.35466,0.79281 0.79284,0.79281 z m -27.49579,-6.78117 c 0.79666,0 1.4507,-0.63717 1.4507,-1.43381 c 0,-0.79668 -0.65404,-1.45075 -1.4507,-1.45071 c -0.79666,0 -1.43382,0.65403 -1.43382,1.45071 c 0,0.79664 0.63716,1.43381 1.43382,1.43381 z m 15.36727,-2.31095 c 0.43816,0 0.8097,-0.35473 0.8097,-0.79287 c 0,-0.43816 -0.37154,-0.79285 -0.8097,-0.7
 9279 c -0.43816,0 -0.79282,0.35463 -0.79282,0.79279 c 0,0.43814 0.35464,0.79287 0.79282,0.79287 z m -70.207022,-0.99529 c 0.79668,0 1.450702,-0.65402 1.450702,-1.4507 c 0,-0.79668 -0.654022,-1.45068 -1.450702,-1.45068 c -0.796639,0 -1.433816,0.654 -1.433816,1.45068 c 0,0.79668 0.637177,1.4507 1.433816,1.4507 z m 36.520472,-0.59037 c 0.796659,0 1.433835,-0.63717 1.433835,-1.43385 c 0,-0.79668 -0.637176,-1.45071 -1.433835,-1.45071 c -0.79668,0 -1.450703,0.65403 -1.450703,1.45071 c 0,0.79668 0.654023,1.43379 1.450703,1.43385 z m 55.63258,-1.7206 c 0.43814,0 0.7928,-0.35469 0.7928,-0.79285 c 0,-0.43816 -0.35466,-0.79285 -0.7928,-0.79281 c -0.43818,0 -0.79283,0.35465 -0.79283,0.79281 c 0,0.43816 0.35465,0.79285 0.79283,0.79285 z m -1.80494,-1.16396 c 0.79666,0 1.45068,-0.63717 1.45068,-1.43379 c 0,-0.7967 -0.65402,-1.45076 -1.45068,-1.4507 c -0.79668,0 -1.4507,0.654 -1.4507,1.4507 c 0,0.79662 0.65402,1.43379 1.4507,1.43379 z m -44.887275,-0.4217 c 0.796655,0 1.450705,-0.65406 1.4
 50685,-1.4507 c 0,-0.79668 -0.65403,-1.45068 -1.450685,-1.45068 c -0.796681,0 -1.433836,0.654 -1.433836,1.45068 c 0,0.79664 0.637155,1.45066 1.433836,1.4507 z m -23.818451,-1.60254 c 0.796681,0 1.450703,-0.63718 1.450703,-1.43377 c 0,-0.79671 -0.654022,-1.45077 -1.450703,-1.45071 c -0.796659,0 -1.433815,0.654 -1.433815,1.45071 c 0,0.79659 0.637135,1.43377 1.433815,1.43377 z m -15.080483,-6.19074 c 0.438139,0 0.792807,-0.37153 0.792807,-0.80967 c 0,-0.43822 -0.354647,-0.79287 -0.792807,-0.79287 c -0.43818,0 -0.792848,0.35465 -0.792848,0.79287 c 0,0.43814 0.354668,0.80963 0.792848,0.80967 z m 8.299336,-0.30362 c 0.796639,0 1.450661,-0.63719 1.450702,-1.43385 c 0,-0.79668 -0.654063,-1.45072 -1.450702,-1.45072 c -0.79668,0 -1.433836,0.65404 -1.433836,1.45072 c 0,0.79666 0.637156,1.43379 1.433836,1.43385 z m 63.645143,-0.42174 c 0.79664,0 1.45066,-0.65402 1.45066,-1.4507 c 0,-0.79668 -0.65402,-1.43386 -1.45066,-1.43382 c -0.79668,0 -1.43384,0.63714 -1.43384,1.43382 c 0,0.79668 0.
 63716,1.4507 1.43384,1.4507 z m -54.755418,-1.4507 c 0.438159,0 0.792827,-0.35465 0.792827,-0.79279 c 0,-0.43822 -0.354668,-0.79287 -0.792827,-0.79287 c -0.43816,0 -0.809694,0.35465 -0.809694,0.79287 c 0,0.43814 0.371534,0.79279 0.809694,0.79279 z m 19.989266,-6.05579 c 0.796659,0 1.433815,-0.654081 1.433815,-1.4507 c 0,-0.79668 -0.637156,-1.433856 -1.433815,-1.433856 c -0.796681,0 -1.450703,0.637176 -1.450703,1.433856 c 0,0.796619 0.654022,1.4507 1.450703,1.4507 z M 115.2986,99.986243 c 0.79668,0 1.4507,-0.637176 1.4507,-1.433816 c 0,-0.79668 -0.65402,-1.450743 -1.4507,-1.450702 c -0.79664,0 -1.43381,0.654022 -1.43381,1.450702 c 0,0.79664 0.63717,1.433816 1.43381,1.433816 z m 30.02608,-1.585655 c 0.79666,0 1.43383,-0.637176 1.43383,-1.433815 c 0,-0.79668 -0.63717,-1.450702 -1.43383,-1.450702 c -0.79666,0 -1.4507,0.654022 -1.4507,1.450702 c 0,0.796639 0.65404,1.433815 1.4507,1.433815 z M 73.160914,97.253524 c 0.79666,0 1.433836,-0.654002 1.433816,-1.450703 c 0,-0.79668 -0.63
 7156,-1.433794 -1.433816,-1.433794 c -0.79668,0 -1.450702,0.637114 -1.450702,1.433794 c 0,0.796701 0.654022,1.450703 1.450702,1.450703 z m 36.655426,-0.151799 c 0.79666,0 1.45068,-0.637155 1.45068,-1.433856 c 0,-0.79668 -0.65402,-1.450682 -1.45068,-1.450682 c -0.79668,0 -1.4507,0.654002 -1.4507,1.450682 c 0,0.796701 0.65402,1.433815 1.4507,1.433856 z M 80.886728,93.930457 c 0.43814,0 0.792807,-0.354729 0.792807,-0.792868 c 0,-0.43816 -0.354626,-0.792848 -0.792807,-0.792787 c -0.43818,0 -0.809714,0.354627 -0.809714,0.792787 c 0,0.438139 0.371534,0.792868 0.809714,0.792868 z M 60.087769,91.6194 c 0.43818,0 0.809673,-0.354627 0.809714,-0.792786 c 0,-0.438181 -0.371534,-0.792848 -0.809714,-0.792848 c -0.438181,0 -0.792807,0.354667 -0.792807,0.792848 c 0,0.438159 0.354626,0.792786 0.792807,0.792786 z m 52.393801,-0.28673 c 0.43816,0 0.79281,-0.354688 0.79281,-0.792828 c 0,-0.438159 -0.35465,-0.792827 -0.79281,-0.792827 c -0.43818,0 -0.79283,0.354668 -0.79283,0.792827 c 0,0.43814 
 0.35465,0.792828 0.79283,0.792828 z m 23.16056,-1.298904 c 0.79668,0 1.4507,-0.654002 1.4507,-1.450682 c 0,-0.79668 -0.65402,-1.433856 -1.4507,-1.433815 c -0.79666,0 -1.43384,0.637135 -1.43384,1.433815 c 0,0.79668 0.63718,1.450682 1.43384,1.450682 z M 97.333581,89.460244 c 0.438181,0 0.792828,-0.354647 0.792828,-0.792807 c 0,-0.43818 -0.354647,-0.792848 -0.792828,-0.792848 c -0.43818,0 -0.792806,0.354668 -0.792806,0.792848 c 0,0.43816 0.354626,0.792807 0.792806,0.792807 z m 56.712159,-1.298843 c 0.43816,0 0.79282,-0.354729 0.79282,-0.792868 c 0,-0.438139 -0.35466,-0.792786 -0.79282,-0.792786 c -0.43816,0 -0.79283,0.354647 -0.79283,0.792786 c 0,0.438139 0.35467,0.792786 0.79283,0.792868 z M 99.138521,87.874589 c 0.79668,0 1.433839,-0.654002 1.433839,-1.450682 c 0,-0.7967 -0.637159,-1.450702 -1.433839,-1.450702 c -0.79666,0 -1.450702,0.654002 -1.450702,1.450702 c 0,0.79668 0.654042,1.450682 1.450702,1.450682 z m 23.093089,-0.43859 c 0.79668,0 1.43384,-0.654002 1.43384,-1.45070
 2 c 0,-0.796681 -0.63716,-1.433857 -1.43384,-1.433775 c -0.79666,0 -1.45068,0.637094 -1.4507,1.433775 c 0,0.7967 0.65402,1.450702 1.4507,1.450702 z m 9.88497,-2.024224 c 0.43818,0 0.79283,-0.354647 0.79285,-0.792787 c 0,-0.438221 -0.35467,-0.792868 -0.79285,-0.792868 c -0.43816,0 -0.79281,0.354647 -0.79281,0.792868 c 0,0.43814 0.35465,0.792787 0.79281,0.792787 z m 21.57492,-0.43857 c 0.79668,0 1.43384,-0.637176 1.43384,-1.433815 c 0,-0.79668 -0.63716,-1.450703 -1.43384,-1.450703 c -0.79666,0 -1.45068,0.654023 -1.45068,1.450703 c 0,0.796639 0.65402,1.433815 1.45068,1.433815 z m -76.397784,0 c 0.361615,-0.07406 0.624142,-0.409448 0.624142,-0.792786 c 0,-0.438222 -0.354647,-0.792869 -0.792827,-0.792869 c -0.43816,0 -0.792828,0.354647 -0.792828,0.792869 c 0,0.438139 0.354668,0.792786 0.792828,0.792786 c 0.05476,0 0.11704,0.01055 0.168685,0 z m 66.360974,-2.294129 c 0.43818,0 0.79281,-0.354647 0.79281,-0.792807 c 0,-0.438201 -0.35463,-0.809694 -0.79281,-0.809694 c -0.43816,0 -0.7
 9281,0.371493 -0.79281,0.809694 c 0,0.43816 0.35465,0.792807 0.79281,0.792807 z M 85.862936,81.228374 c 0.79668,0 1.433836,-0.654022 1.433836,-1.450703 c 0,-0.79668 -0.637156,-1.433794 -1.433836,-1.433794 c -0.796639,0 -1.450702,0.637114 -1.450702,1.433794 c 0,0.796681 0.654063,1.450703 1.450702,1.450703 z m 48.851434,-1.147065 c 0.43814,0 0.7928,-0.354647 0.7928,-0.792807 c 0,-0.43818 -0.35466,-0.809673 -0.7928,-0.809673 c -0.43818,0 -0.79285,0.371493 -0.79285,0.809673 c 0,0.43816 0.35467,0.792807 0.79285,0.792807 z m -23.75099,-2.024245 c 0.79668,0 1.45071,-0.654001 1.45071,-1.450661 c 0,-0.02959 -0.0151,-0.05525 -0.0169,-0.08433 c 0.11157,0.0598 0.23574,0.08433 0.3711,0.08433 c 0.43818,0 0.79285,-0.354667 0.79285,-0.792827 c 0,-0.438201 -0.35467,-0.792828 -0.79285,-0.792828 c -0.36514,0 -0.66662,0.254494 -0.75907,0.590409 c -0.26249,-0.271687 -0.63853,-0.438569 -1.04587,-0.438569 c -0.79664,0 -1.43379,0.637094 -1.43383,1.433815 c 0,0.79666 0.63715,1.450661 1.43383,1.45066
 1 z m 15.5191,-1.737432 c 0.43818,0 0.79284,-0.354688 0.79284,-0.792848 c 0,-0.438139 -0.35466,-0.792848 -0.79284,-0.792786 c -0.43816,0 -0.79281,0.354647 -0.79281,0.792786 c 0,0.43816 0.35465,0.792848 0.79281,0.792848 z m 24.54379,-0.286792 c 0.43818,0 0.79283,-0.354626 0.7928,-0.792786 c 0,-0.438201 -0.35462,-0.792869 -0.7928,-0.792869 c -0.43818,0 -0.79285,0.354668 -0.79285,0.792869 c 0,0.43816 0.35467,0.792786 0.79285,0.792786 z m -6.14016,-0.151778 c 0.79666,0 1.45068,-0.637155 1.45068,-1.433877 c 0,-0.796659 -0.65402,-1.450661 -1.45068,-1.450661 c -0.79668,0 -1.4507,0.654002 -1.4507,1.450661 c 0,0.796722 0.65402,1.433816 1.4507,1.433877 z M 84.564073,75.459318 c 0.79666,0 1.433816,-0.654022 1.433816,-1.450702 c 0,-0.79668 -0.637156,-1.433795 -1.433816,-1.433795 c -0.796659,0 -1.450702,0.637115 -1.450702,1.433795 c 0,0.79668 0.654043,1.450702 1.450702,1.450702 z m 12.263452,-1.585655 c 0.79666,0 1.450703,-0.654001 1.450703,-1.450702 c 0,-0.79668 -0.654043,-1.433774 -1.4
 50703,-1.433774 c -0.621949,0 -1.146736,0.392684 -1.349483,0.944626 c -0.143662,0.143641 -0.236171,0.337534 -0.236171,0.556635 c 0,0.273839 0.143088,0.515176 0.354237,0.657916 c 0.251194,0.425125 0.702162,0.725299 1.231417,0.725299 z m 32.320205,-1.298842 c 0.79666,0 1.45068,-0.654063 1.45068,-1.450702 c 0,-0.79668 -0.65402,-1.433856 -1.45068,-1.433856 c -0.79668,0 -1.43384,0.637176 -1.43384,1.433856 c 0,0.796639 0.63716,1.450702 1.43384,1.450702 z M 75.893613,71.124119 c 0.79668,0 1.450702,-0.637176 1.450702,-1.433856 c 0,-0.796681 -0.654022,-1.450703 -1.450702,-1.450703 c -0.796639,0 -1.433836,0.654022 -1.433836,1.450703 c 0,0.79668 0.637197,1.433856 1.433836,1.433856 z m 24.324507,-4.470213 c 0.43814,0 0.79281,-0.354627 0.79281,-0.792787 c 0,-0.4382 -0.35467,-0.792827 -0.79281,-0.792827 c -0.438181,0 -0.792828,0.354627 -0.792828,0.792827 c 0,0.43816 0.354647,0.792787 0.792828,0.792787 z m 48.6321,-0.286731 c 0.43818,0 0.79281,-0.354688 0.79281,-0.792847 c 0,-0.43814 -0.35
 463,-0.792848 -0.79281,-0.792787 c -0.43818,0 -0.79284,0.354647 -0.79284,0.792787 c 0,0.438159 0.35466,0.792847 0.79284,0.792847 z M 82.894086,66.215336 c 0.43816,0 0.792807,-0.354647 0.792807,-0.792786 c 0,-0.438222 -0.354647,-0.792869 -0.792807,-0.792869 c -0.43816,0 -0.792827,0.354647 -0.792827,0.792869 c 0,0.438139 0.354667,0.792786 0.792827,0.792786 z m 55.851864,-3.323067 c 0.43816,0 0.79281,-0.354667 0.79281,-0.792868 c 0,-0.438139 -0.35465,-0.792786 -0.79281,-0.792786 c -0.43816,0 -0.79283,0.354647 -0.79283,0.792786 c 0,0.43816 0.35467,0.792786 0.79283,0.792868 z m 3.1038,-1.147085 c 0.79668,0 1.4507,-0.654063 1.4507,-1.450702 c 0,-0.79668 -0.65402,-1.433856 -1.4507,-1.433856 c -0.79666,0 -1.43383,0.637176 -1.43383,1.433856 c 0,0.796639 0.63715,1.450702 1.43383,1.450702 z M 89.978871,60.007711 c 0.43818,0 0.792848,-0.354647 0.792848,-0.792807 c 0,-0.438201 -0.354668,-0.792848 -0.792848,-0.792848 c -0.438139,0 -0.809673,0.354647 -0.809673,0.792848 c 0,0.43816 0.371534
 ,0.792807 0.809673,0.792807 z m 6.561904,-0.573522 c 0.796639,0 1.433794,-0.637135 1.433794,-1.433816 c 0,-0.79668 -0.637155,-1.450763 -1.433794,-1.450702 c -0.796681,0 -1.450703,0.654022 -1.450703,1.450702 c 0,0.796619 0.654022,1.433816 1.450703,1.433816 z M 84.125483,57.123214 c 0.79668,0 1.450702,-0.637176 1.450702,-1.433857 c 0,-0.7967 -0.654022,-1.450702 -1.450702,-1.450702 c -0.79666,0 -1.450682,0.654002 -1.450682,1.450702 c 0,0.796681 0.654022,1.433857 1.450682,1.433857 z m 41.631657,-0.421765 c 0.43818,0 0.79282,-0.371534 0.79282,-0.809673 c 0,-0.43816 -0.35464,-0.792807 -0.79282,-0.792807 c -0.43816,0 -0.79281,0.354647 -0.79283,0.792807 c 0,0.438139 0.35467,0.809673 0.79283,0.809673 z m -18.69039,-0.151778 c 0.79668,0 1.45071,-0.654083 1.45071,-1.450702 c 0,-0.79668 -0.65403,-1.433836 -1.45071,-1.433836 c -0.79666,0 -1.43383,0.637156 -1.43383,1.433836 c 0,0.796619 0.63717,1.450641 1.43383,1.450702 z m 24.89803,-1.450702 c 0.43816,0 0.79283,-0.354688 0.79283,-0.79284
 8 c 0,-0.438139 -0.35467,-0.792868 -0.79283,-0.792786 c -0.43818,0 -0.79283,0.354647 -0.79283,0.792786 c 0,0.43816 0.35465,0.792848 0.79283,0.792848 z m -27.85001,-3.306241 c 0.43814,0 0.79281,-0.354709 0.79281,-0.792848 c 0,-0.43816 -0.35467,-0.792848 -0.79281,-0.792786 c -0.43818,0 -0.79285,0.354626 -0.79285,0.792786 c 0,0.438139 0.35467,0.792848 0.79285,0.792848 z m -30.953856,-0.43857 c 0.79666,0 1.433836,-0.654063 1.433816,-1.450702 c 0,-0.79668 -0.637156,-1.433856 -1.433816,-1.433856 c -0.79668,0 -1.450702,0.637176 -1.450702,1.433856 c 0,0.796639 0.654022,1.450702 1.450702,1.450702 z m 54.333696,-3.45808 c 0.43816,0 0.79281,-0.354668 0.79281,-0.792828 c 0,-0.43818 -0.35465,-0.792827 -0.79281,-0.792827 c -0.43818,0 -0.79285,0.354647 -0.79285,0.792827 c 0,0.43816 0.35467,0.792828 0.79285,0.792828 z m 5.12803,-1.012133 c 0.79668,0 1.43383,-0.654002 1.43383,-1.450702 c 0,-0.796681 -0.63715,-1.433857 -1.43383,-1.433795 c -0.79666,0 -1.45069,0.637114 -1.45069,1.433795 c 0,0.
 7967 0.65403,1.450702 1.45069,1.450702 z M 71.204177,44.707922 c 0.438139,0 0.792806,-0.354647 0.792806,-0.792827 c 0,-0.43818 -0.354647,-0.792827 -0.792806,-0.792827 c -0.438181,0 -0.792828,0.354647 -0.792848,0.792827 c 0,0.438139 0.354667,0.792827 0.792848,0.792827 z m 61.485963,-3.019511 c 0.43814,0 0.79281,-0.354626 0.79281,-0.792766 c 0,-0.438221 -0.35467,-0.792847 -0.79281,-0.792847 c -0.43818,0 -0.79285,0.354688 -0.79285,0.792847 c 0,0.43814 0.35467,0.792766 0.79285,0.792766 z M 92.998362,39.51243 c 0.43818,0 0.792827,-0.354729 0.792806,-0.792869 c 0,-0.438159 -0.354626,-0.792847 -0.792806,-0.792786 c -0.438181,0 -0.792828,0.354627 -0.792828,0.792786 c 0,0.43814 0.354647,0.792869 0.792828,0.792869 z M 72.654838,35.615759 c 0.43818,0 0.792848,-0.354647 0.792848,-0.792807 c 0,-0.438201 -0.354668,-0.792848 -0.792848,-0.792848 c -0.438139,0 -0.792807,0.354647 -0.792807,0.792848 c 0,0.43816 0.354668,0.792807 0.792807,0.792807 z m 4.031623,-2.884518 c 0.438139,0 0.792807,-0
 .354647 0.792807,-0.792847 c 0,-0.43814 -0.354668,-0.792787 -0.792807,-0.792787 c -0.43818,0 -0.792848,0.354647 -0.792848,0.792787 c 0,0.438159 0.354647,0.792806 0.792848,0.792847 z"
+       id="path5809"
+       style="fill:url(#radialGradient2412);fill-opacity:1;stroke:none" />
+  </g>
+</svg>
diff --git a/tests/fixtures/dimensions/bug608102.svg b/tests/fixtures/dimensions/bug608102.svg
new file mode 100644
index 0000000..9f1849b
--- /dev/null
+++ b/tests/fixtures/dimensions/bug608102.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" 
+  viewBox="0 0 16 16"
+  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+  xmlns="http://www.w3.org/2000/svg";
+  version="1.1"
+  xmlns:cc="http://creativecommons.org/ns#";
+  xmlns:dc="http://purl.org/dc/elements/1.1/";>
+ <defs id="defs6">
+  <clipPath id="clipPath3622" clipPathUnits="userSpaceOnUse">
+   <rect id="rect3624" fill-rule="nonzero" height="5.4258" width="11.531" y="6.0898" x="1.7969" fill="#999"/>
+  </clipPath>
+ </defs>
+ <path id="p" stroke-linejoin="round" style="stroke-dasharray:none;" d="m2.3244,5.7854,10.461,0l-5.2303,5.3116-5.2303-5.3116z" clip-path="url(#clipPath3622)" stroke="#DDD" stroke-miterlimit="4" stroke-width="0.60196698000000004" fill="#797979"/>
+</svg>
diff --git a/tests/fixtures/dimensions/bug612951.svg b/tests/fixtures/dimensions/bug612951.svg
new file mode 100644
index 0000000..9a81417
--- /dev/null
+++ b/tests/fixtures/dimensions/bug612951.svg
@@ -0,0 +1,738 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://web.resource.org/cc/";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   id="svg2327"
+   width="100%"
+   height="100%"
+   sodipodi:version="0.32"
+   inkscape:version="0.42+devel"
+   sodipodi:docbase="/home/jimmac/gfx/ximian/tango-icon-theme/scalable/devices"
+   sodipodi:docname="computer.svg">
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient2985"
+       inkscape:collect="always">
+      <stop
+         id="stop2987"
+         offset="0"
+         style="stop-color:#d8dfd6;stop-opacity:1;" />
+      <stop
+         id="stop2989"
+         offset="1"
+         style="stop-color:#d8dfd6;stop-opacity:0;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2752">
+      <stop
+         id="stop2754"
+         offset="0"
+         style="stop-color:#9d9d9d;stop-opacity:1;" />
+      <stop
+         id="stop2756"
+         offset="1.0000000"
+         style="stop-color:#b9b9b9;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2711">
+      <stop
+         id="stop2713"
+         offset="0.0000000"
+         style="stop-color:#909090;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2715"
+         offset="1.0000000"
+         style="stop-color:#bebebe;stop-opacity:0.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2701">
+      <stop
+         id="stop2703"
+         offset="0.0000000"
+         style="stop-color:#585956;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2705"
+         offset="1.0000000"
+         style="stop-color:#bbbeb8;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2691">
+      <stop
+         id="stop2693"
+         offset="0.0000000"
+         style="stop-color:#868686;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2695"
+         offset="1.0000000"
+         style="stop-color:#e9e9e9;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2683"
+       inkscape:collect="always">
+      <stop
+         id="stop2685"
+         offset="0"
+         style="stop-color:#000000;stop-opacity:1;" />
+      <stop
+         id="stop2687"
+         offset="1"
+         style="stop-color:#000000;stop-opacity:0;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2675">
+      <stop
+         id="stop2677"
+         offset="0.0000000"
+         style="stop-color:#5b5b97;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2679"
+         offset="1.0000000"
+         style="stop-color:#1b1b43;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2667">
+      <stop
+         id="stop2669"
+         offset="0.0000000"
+         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2671"
+         offset="1.0000000"
+         style="stop-color:#fcfcff;stop-opacity:0.0000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2635"
+       inkscape:collect="always">
+      <stop
+         id="stop2637"
+         offset="0"
+         style="stop-color:#f9fff5;stop-opacity:1;" />
+      <stop
+         id="stop2639"
+         offset="1"
+         style="stop-color:#f9fff5;stop-opacity:0;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2623">
+      <stop
+         id="stop2625"
+         offset="0.0000000"
+         style="stop-color:#dfdfde;stop-opacity:1.0000000;" />
+      <stop
+         id="stop2627"
+         offset="1.0000000"
+         style="stop-color:#9d9f9a;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2454">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop2456" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0;"
+         offset="1"
+         id="stop2458" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2415">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop2417" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop2419" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2379">
+      <stop
+         style="stop-color:#1a4876;stop-opacity:1.0000000;"
+         offset="0.0000000"
+         id="stop2381" />
+      <stop
+         style="stop-color:#3f54a3;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop2383" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2328">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop2330" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop2332" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2307">
+      <stop
+         style="stop-color:#5a7aa4;stop-opacity:1;"
+         offset="0"
+         id="stop2309" />
+      <stop
+         style="stop-color:#5a7aa4;stop-opacity:0;"
+         offset="1"
+         id="stop2311" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2253">
+      <stop
+         style="stop-color:#8f8f8f;stop-opacity:1.0000000;"
+         offset="0.0000000"
+         id="stop2255" />
+      <stop
+         style="stop-color:#494949;stop-opacity:1.0000000;"
+         offset="1.0000000"
+         id="stop2257" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient2245">
+      <stop
+         style="stop-color:#dde1d9;stop-opacity:1.0000000;"
+         offset="0.0000000"
+         id="stop2247" />
+      <stop
+         style="stop-color:#cacdc6;stop-opacity:1.0000000;"
+         offset="1.0000000"
+         id="stop2249" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2245"
+       id="linearGradient2251"
+       gradientTransform="matrix(1.129863,0.000000,0.000000,0.885063,-1.625000,-1.304372)"
+       x1="8.6116238"
+       y1="7.2293582"
+       x2="34.784473"
+       y2="33.339787"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2307"
+       id="linearGradient2313"
+       gradientTransform="matrix(1.208393,0.000000,0.000000,0.984410,-0.789284,-0.503380)"
+       x1="16.851954"
+       y1="9.3235140"
+       x2="24.418941"
+       y2="53.734985"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2328"
+       id="linearGradient2334"
+       gradientTransform="matrix(1.289166,0.000000,0.000000,0.922731,-0.789284,-0.503380)"
+       x1="16.119127"
+       y1="10.842293"
+       x2="27.289009"
+       y2="39.031910"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2415"
+       id="linearGradient2421"
+       gradientTransform="matrix(1.108069,0.000000,0.000000,0.902471,1.000000,1.000000)"
+       x1="17.698339"
+       y1="13.004725"
+       x2="34.974548"
+       y2="55.200756"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2379"
+       id="linearGradient2445"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.027870,0.000000,0.000000,0.822296,1.523986,1.001198)"
+       x1="21.356108"
+       y1="30.078255"
+       x2="19.994572"
+       y2="-1.3221773" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2454"
+       id="radialGradient2460"
+       gradientTransform="scale(1.925808,0.519262)"
+       cx="12.575710"
+       cy="67.501709"
+       fx="12.575710"
+       fy="67.501709"
+       r="8.7662794"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2454"
+       id="radialGradient2464"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.925808,0.519262)"
+       cx="12.575710"
+       cy="67.501709"
+       fx="12.575710"
+       fy="67.501709"
+       r="8.7662794" />
+    <linearGradient
+       y2="92.570930"
+       x2="10.728384"
+       y1="84.029198"
+       x1="10.728384"
+       gradientTransform="scale(1.983556,0.504145)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2653"
+       xlink:href="#linearGradient2623"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="74.098007"
+       x2="8.6485014"
+       y1="101.28460"
+       x1="13.628710"
+       gradientTransform="scale(2.143634,0.466498)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2655"
+       xlink:href="#linearGradient2635"
+       inkscape:collect="always" />
+    <radialGradient
+       r="8.7662794"
+       fy="67.501709"
+       fx="12.575710"
+       cy="67.501709"
+       cx="12.575710"
+       gradientTransform="scale(1.925808,0.519262)"
+       gradientUnits="userSpaceOnUse"
+       id="radialGradient2659"
+       xlink:href="#linearGradient2454"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="26.729263"
+       x2="17.199417"
+       y1="1.6537577"
+       x1="11.492236"
+       gradientTransform="matrix(1.238977,0.000000,0.000000,0.895955,0.590553,-1.331524)"
+       id="linearGradient2673"
+       xlink:href="#linearGradient2667"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="8.8666229"
+       x2="16.315819"
+       y1="32.622238"
+       x1="19.150396"
+       gradientTransform="matrix(1.174139,0.000000,0.000000,0.945431,0.721825,-1.331524)"
+       id="linearGradient2681"
+       xlink:href="#linearGradient2675"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="162.45061"
+       x2="3.7069974"
+       y1="171.29134"
+       x1="3.7069976"
+       gradientTransform="matrix(5.705159,0.000000,0.000000,0.175280,1.000000,-0.679373)"
+       id="linearGradient2689"
+       xlink:href="#linearGradient2683"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="64.892525"
+       x2="12.127711"
+       y1="53.535141"
+       x1="12.206709"
+       gradientTransform="scale(1.816345,0.550556)"
+       id="linearGradient2707"
+       xlink:href="#linearGradient2701"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="3.8451097"
+       x2="35.520542"
+       y1="3.9384086"
+       x1="34.300991"
+       id="linearGradient2717"
+       xlink:href="#linearGradient2711"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="3.8451097"
+       x2="35.520542"
+       y1="3.9384086"
+       x1="34.300991"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2721"
+       xlink:href="#linearGradient2711"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="3.8451097"
+       x2="35.520542"
+       y1="3.9384086"
+       x1="34.300991"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2725"
+       xlink:href="#linearGradient2711"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="3.8451097"
+       x2="35.520542"
+       y1="3.9384086"
+       x1="34.300991"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2729"
+       xlink:href="#linearGradient2711"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="3.8451097"
+       x2="35.520542"
+       y1="3.9384086"
+       x1="34.300991"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2733"
+       xlink:href="#linearGradient2711"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="74.098007"
+       x2="8.6485014"
+       y1="101.28460"
+       x1="13.628710"
+       gradientTransform="matrix(2.143634,0.000000,0.000000,0.466498,1.000000,-0.508826)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2741"
+       xlink:href="#linearGradient2635"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="100.20015"
+       x2="8.1134233"
+       y1="88.509071"
+       x1="8.1134243"
+       gradientTransform="scale(2.309851,0.432928)"
+       id="linearGradient2758"
+       xlink:href="#linearGradient2752"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="31.246054"
+       x2="32.536823"
+       y1="5.3817744"
+       x1="10.390738"
+       gradientTransform="scale(1.104397,0.905471)"
+       id="linearGradient2979"
+       xlink:href="#linearGradient2253"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="52.536461"
+       x2="18.176752"
+       y1="48.643234"
+       x1="18.316999"
+       gradientTransform="scale(1.129863,0.885063)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient2981"
+       xlink:href="#linearGradient2245"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       y2="44.878883"
+       x2="-23.885700"
+       y1="49.953003"
+       x1="-23.885700"
+       gradientTransform="scale(1.492875,0.669848)"
+       id="linearGradient2991"
+       xlink:href="#linearGradient2985"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="100.20015"
+       x2="8.1134233"
+       y1="88.509071"
+       x1="8.1134243"
+       gradientTransform="scale(2.309851,0.432928)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient1409"
+       xlink:href="#linearGradient2752"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="100.20015"
+       x2="8.1134233"
+       y1="88.509071"
+       x1="8.1134243"
+       gradientTransform="scale(2.309851,0.432928)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient1411"
+       xlink:href="#linearGradient2752"
+       inkscape:collect="always" />
+    <linearGradient
+       y2="31.246054"
+       x2="32.536823"
+       y1="5.3817744"
+       x1="10.390738"
+       gradientTransform="scale(1.104397,0.905471)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient1413"
+       xlink:href="#linearGradient2253"
+       inkscape:collect="always" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="0.12156863"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1"
+     inkscape:cx="75.353821"
+     inkscape:cy="12.176086"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="770"
+     inkscape:window-height="576"
+     inkscape:window-x="402"
+     inkscape:window-y="25"
+     inkscape:showpageshadow="false" />
+  <metadata
+     id="metadata4">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title>Computer</dc:title>
+        <dc:date>2005-03-08</dc:date>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Jakub Steiner</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:subject>
+          <rdf:Bag>
+            <rdf:li>workstation</rdf:li>
+            <rdf:li>computer</rdf:li>
+            <rdf:li>node</rdf:li>
+            <rdf:li>client</rdf:li>
+          </rdf:Bag>
+        </dc:subject>
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/"; />
+        <dc:source>http://jimmac.musichall.cz/</dc:source>
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/by-sa/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Attribution"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:type="arc"
+       style="color:#000000;fill:url(#radialGradient2460);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:0.70063692;visibility:visible;display:inline;overflow:visible"
+       id="path2452"
+       sodipodi:cx="24.218407"
+       sodipodi:cy="35.051105"
+       sodipodi:rx="16.882174"
+       sodipodi:ry="4.5520000"
+       d="M 41.100580 35.051105 A 16.882174 4.5520000 0 1 1  7.3362331,35.051105 A 16.882174 4.5520000 0 1 1  41.100580 35.051105 z"
+       transform="matrix(1.000000,0.000000,0.000000,1.368932,-1.978553,-13.61713)" />
+    <path
+       sodipodi:type="arc"
+       style="color:#000000;fill:#adb0aa;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#4b4d4a;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       id="path2407"
+       sodipodi:cx="-35.658386"
+       sodipodi:cy="29.716238"
+       sodipodi:rx="9.3944187"
+       sodipodi:ry="3.9395950"
+       d="M -26.263968 29.716238 A 9.3944187 3.9395950 0 1 1  -45.052805,29.716238 A 9.3944187 3.9395950 0 1 1  -26.263968 29.716238 z"
+       transform="translate(57.53339,3.203427)" />
+    <path
+       transform="matrix(0.940273,0.000000,0.000000,0.940273,55.40361,4.271194)"
+       d="M -26.263968 29.716238 A 9.3944187 3.9395950 0 1 1  -45.052805,29.716238 A 9.3944187 3.9395950 0 1 1  -26.263968 29.716238 z"
+       sodipodi:ry="3.9395950"
+       sodipodi:rx="9.3944187"
+       sodipodi:cy="29.716238"
+       sodipodi:cx="-35.658386"
+       id="path1825"
+       style="color:#000000;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#7b7f7a;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:type="arc"
+       style="color:#000000;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient2991);stroke-width:0.68065339;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       id="path2983"
+       sodipodi:cx="-35.658386"
+       sodipodi:cy="29.716238"
+       sodipodi:rx="9.3944187"
+       sodipodi:ry="3.9395950"
+       d="M -26.263968 29.716238 A 9.3944187 3.9395950 0 1 1  -45.052805,29.716238 A 9.3944187 3.9395950 0 1 1  -26.263968 29.716238 z"
+       transform="matrix(0.940273,0.000000,0.000000,0.940273,55.40361,3.521194)" />
+    <path
+       sodipodi:nodetypes="ccccccccccccccccc"
+       style="fill:#d0d0d0;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#979797;stroke-width:0.40000001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
+       d="M 25.687500,28.766243 L 25.625000,29.766243 C 25.625000,29.766243 29.949108,33.365409 34.625000,33.968750 C 36.962946,34.270420 39.378675,34.671162 41.375000,35.156250 C 43.371325,35.641338 44.963356,36.275856 45.500000,36.812500 C 45.810411,37.122911 45.951063,37.386139 46.000000,37.593750 C 46.048937,37.801361 46.038217,37.948565 45.906250,38.156250 C 45.642317,38.571620 44.826393,39.123902 43.437500,39.562500 C 40.659715,40.439695 35.717076,41.000000 28.875000,41.000000 L 28.875000,42.000000 C 35.770998,42.000000 40.738665,41.472329 43.718750,40.531250 C 45.208792,40.060710 46.243692,39.515563 46.750000,38.718750 C 47.003154,38.320344 47.107321,37.830301 47.000000,37.375000 C 46.892679,36.919699 46.615445,36.490445 46.218750,36.093750 C 45.341180,35.216180 43.681912,34.687310 41.625000,34.187500 C 39.568088,33.687690 37.109264,33.273171 34.750000,32.968750 C 30.031473,32.359908 25.687500,28.766243 25.687500,28.766243 z "
+       id="path2411" />
+    <path
+       transform="matrix(1.000000,0.000000,0.000000,1.368932,-1.978553,-19.02126)"
+       d="M 41.100580 35.051105 A 16.882174 4.5520000 0 1 1  7.3362331,35.051105 A 16.882174 4.5520000 0 1 1  41.100580 35.051105 z"
+       sodipodi:ry="4.5520000"
+       sodipodi:rx="16.882174"
+       sodipodi:cy="35.051105"
+       sodipodi:cx="24.218407"
+       id="path2462"
+       style="color:#000000;fill:url(#radialGradient2464);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:0.70063692;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <rect
+       y="30.703611"
+       x="17.472397"
+       height="2.7400389"
+       width="9.0396729"
+       id="rect2699"
+       style="color:#000000;fill:url(#linearGradient2707);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.60872948;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" />
+    <path
+       style="color:#000000;fill:url(#linearGradient2251);fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient2979);stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       d="M 7.0809024,1.6956221 L 36.669097,1.6956221 C 37.580439,1.6956221 38.293244,2.2791039 38.335849,3.0972091 L 39.667893,28.675323 C 39.726102,29.793058 38.766837,30.695628 37.647588,30.695628 L 6.1024120,30.695628 C 4.9831629,30.695628 4.0238980,29.793058 4.0821068,28.675323 L 5.4141506,3.0972091 C 5.4544343,2.3236745 5.9616533,1.6956221 7.0809024,1.6956221 z "
+       id="rect2404"
+       sodipodi:nodetypes="cssssssss" />
+    <path
+       sodipodi:nodetypes="ccccc"
+       id="path2377"
+       d="M 8.4105348,4.3058272 L 7.1683398,26.351144 L 34.818729,26.351144 L 33.483712,4.3992558 L 8.4105348,4.3058272 z "
+       style="fill:url(#linearGradient2681);fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000079;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" />
+    <path
+       style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient2689);stroke-width:0.99618119;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:0.24840762"
+       d="M 6.1774331,28.735789 L 37.605910,28.735789"
+       id="path2393" />
+    <path
+       sodipodi:nodetypes="cssssssss"
+       id="path2397"
+       d="M 6.9145985,2.7063396 L 36.760101,2.6685383 C 37.043798,2.6681790 37.319403,2.9057881 37.342206,3.3210821 L 38.704098,28.124330 C 38.762137,29.181361 38.164349,29.910201 37.105727,29.910201 L 6.5817583,29.910201 C 5.5231355,29.910201 4.9887439,29.181410 5.0458869,28.124330 L 6.3699773,3.6301633 C 6.4086732,2.9143326 6.5363627,2.7068187 6.9145985,2.7063396 z "
+       style="color:#000000;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient2421);stroke-width:0.99999964;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:0.70063692;visibility:visible;display:inline;overflow:visible" />
+    <path
+       sodipodi:nodetypes="ccccc"
+       style="opacity:0.53142858;fill:url(#linearGradient2673);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 8.7115364,4.7463626 L 7.9090069,22.616693 C 18.953645,20.216063 19.330470,12.124494 33.063039,9.4699426 L 32.901567,4.8124267 L 8.7115364,4.7463626 z "
+       id="path2443" />
+    <path
+       transform="matrix(1.264398,0.000000,0.000000,1.291262,-6.216332,-4.000423)"
+       d="M 41.100580 35.051105 A 16.882174 4.5520000 0 1 1  7.3362331,35.051105 A 16.882174 4.5520000 0 1 1  41.100580 35.051105 z"
+       sodipodi:ry="4.5520000"
+       sodipodi:rx="16.882174"
+       sodipodi:cy="35.051105"
+       sodipodi:cx="24.218407"
+       id="path2657"
+       style="color:#000000;fill:url(#radialGradient2659);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:0.70063692;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:nodetypes="cssssssss"
+       id="path2409"
+       d="M 6.4621839,36.817452 L 37.464590,36.817452 C 38.583839,36.817452 38.441945,37.088890 38.556817,37.430298 L 41.391463,45.855108 C 41.506335,46.196517 41.418485,46.467954 40.299236,46.467954 L 3.6275382,46.467954 C 2.5082891,46.467954 2.4204387,46.196517 2.5353107,45.855108 L 5.3699564,37.430298 C 5.4848284,37.088889 5.3429348,36.817452 6.4621839,36.817452 z "
+       style="opacity:1.0000000;color:#000000;fill:url(#linearGradient2981);fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient1413);stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" />
+    <path
+       sodipodi:nodetypes="ccccccccc"
+       id="path2611"
+       d="M 6.3916892,38.829113 L 4.6239223,43.955638 L 10.104000,43.955638 L 10.634330,41.922706 L 25.483572,41.922706 L 26.033251,43.997820 L 32.201086,43.997820 L 30.521708,38.829113 L 6.3916892,38.829113 z "
+       style="fill:#7a7d77;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" />
+    <path
+       id="path2613"
+       d="M 11.076272,42.276260 L 10.634330,43.955639 L 25.395184,43.955639 L 24.953242,42.187872 L 11.076272,42.276260 z "
+       style="fill:#777874;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" />
+    <path
+       style="color:#000000;fill:#777a75;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       d="M 37.592776,38.829114 L 39.272155,43.867250 L 33.792077,43.778861 L 32.289475,38.917502 L 37.592776,38.829114 z "
+       id="path2619" />
+    <path
+       id="path2615"
+       d="M 37.592776,38.298786 L 39.272155,43.336922 L 33.792077,43.248533 L 32.289475,38.387174 L 37.592776,38.298786 z "
+       style="opacity:1.0000000;color:#000000;fill:url(#linearGradient2758);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" />
+    <path
+       style="fill:url(#linearGradient1411);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
+       d="M 6.3916892,38.210397 L 4.6239223,43.336922 L 10.104000,43.336922 L 10.634330,41.303990 L 25.483572,41.303990 L 26.033251,43.379104 L 32.201086,43.379104 L 30.521708,38.210397 L 6.3916892,38.210397 z "
+       id="path2617"
+       sodipodi:nodetypes="ccccccccc" />
+    <path
+       style="opacity:1.0000000;color:#000000;fill:url(#linearGradient1409);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       d="M 11.076272,41.745932 L 10.634330,43.425311 L 25.395184,43.425311 L 24.953242,41.657544 L 11.076272,41.745932 z "
+       id="path2621" />
+    <path
+       style="color:#000000;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient2741);stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       d="M 6.1278189,37.578116 L 37.953634,37.578116 L 40.590813,45.670679 L 3.3297429,45.670679 L 6.1278189,37.578116 z "
+       id="path2631"
+       sodipodi:nodetypes="ccccc" />
+    <path
+       transform="matrix(1.331237,0.000000,0.000000,0.658449,-10.41933,2.853866)"
+       d="M 35.620504 3.9384086 A 0.83968931 0.83968931 0 1 1  33.941126,3.9384086 A 0.83968931 0.83968931 0 1 1  35.620504 3.9384086 z"
+       sodipodi:ry="0.83968931"
+       sodipodi:rx="0.83968931"
+       sodipodi:cy="3.9384086"
+       sodipodi:cx="34.780815"
+       id="path2709"
+       style="color:#000000;fill:url(#linearGradient2717);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:type="arc"
+       style="color:#000000;fill:url(#linearGradient2721);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       id="path2719"
+       sodipodi:cx="34.780815"
+       sodipodi:cy="3.9384086"
+       sodipodi:rx="0.83968931"
+       sodipodi:ry="0.83968931"
+       d="M 35.620504 3.9384086 A 0.83968931 0.83968931 0 1 1  33.941126,3.9384086 A 0.83968931 0.83968931 0 1 1  35.620504 3.9384086 z"
+       transform="matrix(1.331237,0.000000,0.000000,0.658449,-10.30573,4.959651)" />
+    <path
+       transform="matrix(1.331237,0.000000,0.000000,0.658449,-10.19213,6.959651)"
+       d="M 35.620504 3.9384086 A 0.83968931 0.83968931 0 1 1  33.941126,3.9384086 A 0.83968931 0.83968931 0 1 1  35.620504 3.9384086 z"
+       sodipodi:ry="0.83968931"
+       sodipodi:rx="0.83968931"
+       sodipodi:cy="3.9384086"
+       sodipodi:cx="34.780815"
+       id="path2723"
+       style="color:#000000;fill:url(#linearGradient2725);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <path
+       sodipodi:type="arc"
+       style="color:#000000;fill:url(#linearGradient2729);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       id="path2727"
+       sodipodi:cx="34.780815"
+       sodipodi:cy="3.9384086"
+       sodipodi:rx="0.83968931"
+       sodipodi:ry="0.83968931"
+       d="M 35.620504 3.9384086 A 0.83968931 0.83968931 0 1 1  33.941126,3.9384086 A 0.83968931 0.83968931 0 1 1  35.620504 3.9384086 z"
+       transform="matrix(1.331237,0.000000,0.000000,0.658449,-10.07853,8.959651)" />
+    <path
+       transform="matrix(1.331237,0.000000,0.000000,0.658449,-9.964930,10.95965)"
+       d="M 35.620504 3.9384086 A 0.83968931 0.83968931 0 1 1  33.941126,3.9384086 A 0.83968931 0.83968931 0 1 1  35.620504 3.9384086 z"
+       sodipodi:ry="0.83968931"
+       sodipodi:rx="0.83968931"
+       sodipodi:cy="3.9384086"
+       sodipodi:cx="34.780815"
+       id="path2731"
+       style="color:#000000;fill:url(#linearGradient2733);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
+       sodipodi:type="arc" />
+    <path
+       id="text2735"
+       d="M 20.000000,27.317666 L 20.281716,27.317666 C 20.365481,27.317667 20.429701,27.336330 20.474376,27.373656 C 20.519345,27.410690 20.541829,27.463594 20.541830,27.532370 C 20.541829,27.601440 20.519345,27.654638 20.474376,27.691965 C 20.429701,27.728998 20.365481,27.747515 20.281716,27.747515 L 20.169735,27.747515 L 20.169735,27.975885 L 20.000000,27.975885 L 20.000000,27.317666 M 20.169735,27.440669 L 20.169735,27.624512 L 20.263640,27.624512 C 20.296558,27.624512 20.321982,27.616576 20.339911,27.600705 C 20.357839,27.584540 20.366804,27.561762 20.366804,27.532370 C 20.366804,27.502979 20.357839,27.480348 20.339911,27.464476 C 20.321982,27.448605 20.296558,27.440669 20.263640,27.440669 L 20.169735,27.440669 M 20.961979,27.428765 C 20.910250,27.428766 20.870131,27.447870 20.841621,27.486078 C 20.813112,27.524288 20.798857,27.578074 20.798857,27.647437 C 20.798857,27.716507 20.813112,27.770146 20.841621,27.808355 C 20.870131,27.846564 20.910250,27.865668 20.961979,27.
 865668 C 21.014001,27.865668 21.054267,27.846564 21.082778,27.808355 C 21.111287,27.770146 21.125541,27.716507 21.125542,27.647437 C 21.125541,27.578074 21.111287,27.524288 21.082778,27.486078 C 21.054267,27.447870 21.014001,27.428766 20.961979,27.428765 M 20.961979,27.305762 C 21.067787,27.305763 21.150671,27.336036 21.210630,27.396582 C 21.270588,27.457128 21.300567,27.540747 21.300568,27.647437 C 21.300567,27.753834 21.270588,27.837305 21.210630,27.897851 C 21.150671,27.958398 21.067787,27.988671 20.961979,27.988671 C 20.856464,27.988671 20.773580,27.958398 20.713328,27.897851 C 20.653370,27.837305 20.623391,27.753834 20.623391,27.647437 C 20.623391,27.540747 20.653370,27.457128 20.713328,27.396582 C 20.773580,27.336036 20.856464,27.305763 20.961979,27.305762 M 21.428420,27.317666 L 21.617994,27.317666 L 21.857387,27.769117 L 21.857387,27.317666 L 22.018305,27.317666 L 22.018305,27.975885 L 21.828730,27.975885 L 21.589338,27.524434 L 21.589338,27.975885 L 21.428420,27.975
 885 L 21.428420,27.317666 M 22.091489,27.317666 L 22.277095,27.317666 L 22.426991,27.552209 L 22.576887,27.317666 L 22.762935,27.317666 L 22.512079,27.698578 L 22.512079,27.975885 L 22.342344,27.975885 L 22.342344,27.698578 L 22.091489,27.317666"
+       style="font-size:0.90290260;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;writing-mode:lr-tb;text-anchor:start;fill:#4a4a4a;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans" />
+  </g>
+</svg>
diff --git a/tests/fixtures/dimensions/bug614018.svg b/tests/fixtures/dimensions/bug614018.svg
new file mode 100644
index 0000000..912e622
--- /dev/null
+++ b/tests/fixtures/dimensions/bug614018.svg
@@ -0,0 +1,355 @@
+<?xml version="1.0" standalone="no"?>
+
+<!--
+    Copyright (C) 2008 Papavasileiou Dimitris                             
+                                                                     
+    This program is free software: you can redistribute it and/or modify 
+    it under the terms of the GNU General Public License as published by 
+    the Free Software Foundation, either version 3 of the License, or    
+    (at your option) any later version.                                  
+    
+    This program is distributed in the hope that it will be useful,      
+    but WITHOUT ANY WARRANTY; without even the implied warranty of       
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        
+    GNU General Public License for more details.                         
+                                                                     
+    You should have received a copy of the GNU General Public License    
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
+	    "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+
+  <svg viewBox="-1.620000 -0.910000 3.240000 1.820000"
+       xmlns="http://www.w3.org/2000/svg"; version="1.1" 
+       xmlns:xlink="http://www.w3.org/1999/xlink";>
+
+    <defs>
+      <pattern id="stripe" patternUnits="userSpaceOnUse"
+               x="-0.0286"
+	       y="-0.0286"
+	       width="0.0572"
+	       height="0.0572"
+	       viewBox="0 0 1 1" >
+            
+        <rect x="0" y="0.3" width="1" height="0.4" fill="white" />
+      </pattern> 
+
+      <g id="side">
+	<path d="M -1.378
+	           -0.75
+		 L -0.06
+	           -0.75
+		 L -0.07
+	           -0.71
+		 L -1.36
+	           -0.71
+		 z"
+	      stroke="rgb(50, 50, 50)" stroke-width="0.003"
+  	      fill="rgb(110, 139,  61)" />
+      </g>
+
+      <g id="top">
+	<path d="M -1.46
+	           -0.668
+		 L -1.42
+	           -0.648
+		 L -1.42
+	           0.648
+		 L -1.46
+	           0.668
+		 z"
+	      stroke="rgb(50, 50, 50)" stroke-width="0.003"
+  	      fill="rgb(110, 139,  61)" />
+      </g>
+      
+      <g id="pocket">
+	<path fill="rgb(30, 30, 30)" stroke="black" stroke-width="0.003"
+	      d="M -0.06 0 A 0.065 0.07 0 1 1 0.06 0"/>
+	<path fill="black" d="M -0.06 0 A 0.06 0.08 0 0 1 0.06 0"/>
+	<path fill="black" d="M -0.061 0 A 0.10 0.10 0 0 0 0.061 0"/>
+      </g>
+
+      <g id="diamond" transform="translate(0 -0.0141) rotate(45)">
+	<rect width="0.02" height="0.02" fill="white" stroke="none"/>
+      </g>
+
+      <g id="ball">
+	<circle r="0.0286" stroke-width="0.003"/>
+      </g>
+    </defs>
+
+    <g id="table">
+      <!-- The frame. -->
+
+      <rect x="-1.61"
+	    y="-0.9"
+	    rx="0.09"
+            width="3.22"
+	    height="1.8"
+	    fill="rgb(40, 30, 17)" 
+  	    stroke="rgb(110, 90, 60)" stroke-width="0.015"/>
+
+      <!-- The cloth. -->
+
+      <rect x="-1.46"
+	    y="-0.75"
+	    width="2.92"
+            height="1.5"
+	    stroke="rgb(84, 139, 84)" stroke-width="0.008"
+	    fill="rgb(107, 142, 35)" />
+
+      <!-- The cushions. -->
+
+      <use xlink:href="#side"/>
+      <use transform="scale(-1, 1)" xlink:href="#side"/>
+      <use transform="scale(-1, -1)" xlink:href="#side"/>
+      <use transform="scale(1, -1)" xlink:href="#side"/>
+      <use xlink:href="#top"/>
+      <use transform="scale(-1, 1)" xlink:href="#top"/>
+
+      <!-- The spots. -->
+
+      <circle cx="-0.71" cy="0"
+	      r="0.01"
+	      stroke="none"
+	      fill="rgb(50, 70, 50)"/>
+
+      <circle cx="0.71" cy="0"
+	      r="0.01"
+	      stroke="none"
+	      fill="rgb(50, 70, 50)"/>
+
+      <!-- The pockets. -->
+
+      <use transform="translate(0 -0.75)"
+	   xlink:href="#pocket"/>
+
+      <use transform="translate(0 0.75)
+		      rotate(180)" xlink:href="#pocket"/>
+
+      <use transform="translate(1.42
+		                -0.71)
+		      rotate(45)" xlink:href="#pocket"/>
+
+      <use transform="translate(1.42
+		                0.71)
+		      rotate(135)" xlink:href="#pocket"/>
+
+      <use transform="translate(-1.42
+		                -0.71)
+		      rotate(-45)" xlink:href="#pocket"/>
+
+      <use transform="translate(-1.42
+		                0.71)
+		      rotate(-135)" xlink:href="#pocket"/>
+
+      	 <use x="-1.065000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="-1.065000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="-0.710000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="-0.710000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="-0.355000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="-0.355000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="0.355000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="0.355000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="0.710000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="0.710000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="1.065000" y="0.820000" xlink:href="#diamond"/>
+	 <use x="1.065000" y="-0.820000" xlink:href="#diamond"/>
+	              	 <use x="1.530000" y="-0.355000" xlink:href="#diamond"/>
+	 <use x="-1.530000" y="-0.355000" xlink:href="#diamond"/>
+	           	 <use x="1.530000" y="0.000000" xlink:href="#diamond"/>
+	 <use x="-1.530000" y="0.000000" xlink:href="#diamond"/>
+	           	 <use x="1.530000" y="0.355000" xlink:href="#diamond"/>
+	 <use x="-1.530000" y="0.355000" xlink:href="#diamond"/>
+	            	 <circle cx="0.058979" cy="-0.067725" r="0.01" stroke="none"
+		 fill="rgb(255, 255, 255)"/> 	 <circle cx="0.058979" cy="-0.067725" r="0.028600" fill="none"
+		 stroke="rgb(255, 255, 255)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 255, 255)" stroke-width="0.005"
+	       d="M 0.059 -0.068
+		  L 0.059 -0.068
+		  L 0.059 -0.068"/>
+
+ 	 <circle cx="0.831806" cy="-0.142947" r="0.01" stroke="none"
+		 fill="rgb(255, 124, 0)"/> 	 <circle cx="0.831806" cy="-0.142947" r="0.028600" fill="none"
+		 stroke="rgb(255, 124, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 124, 0)" stroke-width="0.005"
+	       d="M 0.832 -0.143
+		  L 0.832 -0.143
+		  L 0.832 -0.143"/>
+
+ 	 <circle cx="-1.183625" cy="-0.190027" r="0.01" stroke="none"
+		 fill="rgb(6, 22, 157)"/> 	 <circle cx="-1.183625" cy="-0.190027" r="0.028600" fill="none"
+		 stroke="rgb(6, 22, 157)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(6, 22, 157)" stroke-width="0.005"
+	       d="M -1.184 -0.190
+		  L -1.184 -0.190
+		  L -1.184 -0.190"/>
+
+ 	 <circle cx="0.108950" cy="0.107066" r="0.01" stroke="none"
+		 fill="rgb(255, 0, 0)"/> 	 <circle cx="0.108950" cy="0.107066" r="0.028600" fill="none"
+		 stroke="rgb(255, 0, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 0, 0)" stroke-width="0.005"
+	       d="M 0.109 0.107
+		  L 0.109 0.107
+		  L 0.109 0.107"/>
+
+ 	 <circle cx="-0.527822" cy="-0.266026" r="0.01" stroke="none"
+		 fill="rgb(0, 0, 34)"/> 	 <circle cx="-0.527822" cy="-0.266026" r="0.028600" fill="none"
+		 stroke="rgb(0, 0, 34)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(0, 0, 34)" stroke-width="0.005"
+	       d="M -0.528 -0.266
+		  L -0.528 -0.266
+		  L -0.528 -0.266"/>
+
+ 	 <circle cx="0.201618" cy="0.140210" r="0.01" stroke="none"
+		 fill="rgb(255, 48, 0)"/> 	 <circle cx="0.201618" cy="0.140210" r="0.028600" fill="none"
+		 stroke="rgb(255, 48, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 48, 0)" stroke-width="0.005"
+	       d="M 0.202 0.140
+		  L 0.202 0.140
+		  L 0.202 0.140"/>
+
+ 	 <circle cx="-1.366404" cy="-0.445032" r="0.01" stroke="none"
+		 fill="rgb(0, 61, 9)"/> 	 <circle cx="-1.366404" cy="-0.445032" r="0.028600" fill="none"
+		 stroke="rgb(0, 61, 9)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(0, 61, 9)" stroke-width="0.005"
+	       d="M -1.366 -0.445
+		  L -1.366 -0.445
+		  L -1.366 -0.445"/>
+
+ 	 <circle cx="-0.472246" cy="0.681671" r="0.01" stroke="none"
+		 fill="rgb(54, 0, 0)"/> 	 <circle cx="-0.472246" cy="0.681671" r="0.028600" fill="none"
+		 stroke="rgb(54, 0, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(54, 0, 0)" stroke-width="0.005"
+	       d="M -0.472 0.682
+		  L -0.472 0.682
+		  L -0.472 0.682"/>
+
+ 	 <circle cx="-1.211370" cy="-0.477456" r="0.01" stroke="none"
+		 fill="rgb(0, 0, 0)"/> 	 <circle cx="-1.211370" cy="-0.477456" r="0.028600" fill="none"
+		 stroke="rgb(0, 0, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(0, 0, 0)" stroke-width="0.005"
+	       d="M -1.211 -0.477
+		  L -1.211 -0.477
+		  L -1.211 -0.478"/>
+
+ 	 <circle cx="-1.420060" cy="-0.675371" r="0.01" stroke="none"
+		 fill="rgb(255, 124, 0)"/> 	 <circle cx="-1.420060" cy="-0.675371" r="0.028600" fill="none"
+		 stroke="rgb(255, 124, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 124, 0)" stroke-width="0.005"
+	       d="M -1.420 -0.675
+		  L -1.420 -0.675
+		  L -1.420 -0.676"/>
+
+ 	 <circle cx="-1.130869" cy="-0.287088" r="0.01" stroke="none"
+		 fill="rgb(6, 22, 157)"/> 	 <circle cx="-1.130869" cy="-0.287088" r="0.028600" fill="none"
+		 stroke="rgb(6, 22, 157)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(6, 22, 157)" stroke-width="0.005"
+	       d="M -1.131 -0.287
+		  L -1.131 -0.287
+		  L -1.131 -0.287"/>
+
+ 	 <circle cx="1.442492" cy="0.400212" r="0.01" stroke="none"
+		 fill="rgb(255, 0, 0)"/> 	 <circle cx="1.442492" cy="0.400212" r="0.028600" fill="none"
+		 stroke="rgb(255, 0, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 0, 0)" stroke-width="0.005"
+	       d="M 1.442 0.400
+		  L 1.442 0.400
+		  L 1.442 0.400"/>
+
+ 	 <circle cx="0.874867" cy="0.588390" r="0.01" stroke="none"
+		 fill="rgb(0, 0, 34)"/> 	 <circle cx="0.874867" cy="0.588390" r="0.028600" fill="none"
+		 stroke="rgb(0, 0, 34)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(0, 0, 34)" stroke-width="0.005"
+	       d="M 0.875 0.588
+		  L 0.875 0.588
+		  L 0.875 0.588"/>
+
+ 	 <circle cx="1.273824" cy="0.159112" r="0.01" stroke="none"
+		 fill="rgb(255, 48, 0)"/> 	 <circle cx="1.273824" cy="0.159112" r="0.028600" fill="none"
+		 stroke="rgb(255, 48, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(255, 48, 0)" stroke-width="0.005"
+	       d="M 1.274 0.159
+		  L 1.274 0.159
+		  L 1.274 0.159"/>
+
+ 	 <circle cx="0.341479" cy="-0.601032" r="0.01" stroke="none"
+		 fill="rgb(0, 61, 9)"/> 	 <circle cx="0.341479" cy="-0.601032" r="0.028600" fill="none"
+		 stroke="rgb(0, 61, 9)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(0, 61, 9)" stroke-width="0.005"
+	       d="M 0.341 -0.601
+		  L 0.341 -0.601
+		  L 0.342 -0.601"/>
+
+ 	 <circle cx="0.214091" cy="-0.519331" r="0.01" stroke="none"
+		 fill="rgb(54, 0, 0)"/> 	 <circle cx="0.214091" cy="-0.519331" r="0.028600" fill="none"
+		 stroke="rgb(54, 0, 0)" stroke-width="0.003"/>
+         <path fill="none" stroke="rgb(54, 0, 0)" stroke-width="0.005"
+	       d="M 0.214 -0.519
+		  L 0.214 -0.519
+		  L 0.214 -0.519"/>
+
+ 
+         <g transform="translate(0.058888, -0.067729)"> 
+	   <use fill="rgb(255, 255, 255)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(0.831894, -0.142925)"> 
+	   <use fill="rgb(255, 124, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(-1.183534, -0.190030)"> 
+	   <use fill="rgb(6, 22, 157)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(0.109041, 0.107067)"> 
+	   <use fill="rgb(255, 0, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(-0.527764, -0.266095)"> 
+	   <use fill="rgb(0, 0, 34)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(0.201682, 0.140275)"> 
+	   <use fill="rgb(255, 48, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(-1.366393, -0.445122)"> 
+	   <use fill="rgb(0, 61, 9)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(-0.472162, 0.681705)"> 
+	   <use fill="rgb(54, 0, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/>         </g> 
+         <g transform="translate(-1.211327, -0.477535)"> 
+	   <use fill="rgb(0, 0, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(30)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(-1.420173, -0.675545)"> 
+	   <use fill="rgb(255, 124, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(86)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(-1.130782, -0.287114)"> 
+	   <use fill="rgb(6, 22, 157)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(137)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(1.442492, 0.400212)">         </g> 
+         <g transform="translate(0.874932, 0.588453)"> 
+	   <use fill="rgb(0, 0, 34)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(140)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(1.273907, 0.159075)"> 
+	   <use fill="rgb(255, 48, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(1)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(0.341568, -0.601015)"> 
+	   <use fill="rgb(0, 61, 9)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(104)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g> 
+         <g transform="translate(0.214180, -0.519311)"> 
+	   <use fill="rgb(54, 0, 0)" stroke="rgb(10, 10, 10)"
+                xlink:href="#ball"/> 
+	   <use transform="rotate(133)"
+	        fill="url(#stripe)" xlink:href="#ball"/>         </g>
+  </g>
+</svg>
diff --git a/tests/fixtures/dimensions/sub-rect-no-unit.svg b/tests/fixtures/dimensions/sub-rect-no-unit.svg
new file mode 100644
index 0000000..fb8312a
--- /dev/null
+++ b/tests/fixtures/dimensions/sub-rect-no-unit.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://web.resource.org/cc/";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   width="123pt"
+   height="123pt"
+   id="svg1">
+  <rect id="rect-no-unit" width="44" height="45" x="46" y="47"/>
+</svg>



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