Documentation fixes to arrows in svg files
authorTomi Leppänen <tomi.leppanen@telemail.fi>
Thu, 17 Sep 2015 12:05:25 +0000 (15:05 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 9 Nov 2015 02:47:40 +0000 (12:47 +1000)
There were two files (doc/svg/{edge,twofinger}-scrolling.svg) that had both
arrow heads pointing to wrong direction. Those arrow heads used markers but
their ids were defined wrong and therefore they displayed weirdly. On Firefox
the arrow head that should have pointed to left pointed actually to right.

This commit fixes that problem by defining the marker ids correctly.

I tested on Firefox 40.0.3 that the arrow heads are now displayed correctly.

Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Tested-by: Bryce Harrington <bryce@osg.samsung.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/svg/edge-scrolling.svg
doc/svg/twofinger-scrolling.svg

index cba72c50a99e74cd4b75565365f3ecbadb5e60c9..c768e805a73de9309934e374aa43f70286e57394 100644 (file)
     <path
        d="m 455.56456,762.87232 c 0,0 -235.01231,1.01015 -235.01231,1.01015"
        id="path3702"
-       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Lstart);marker-end:url(#Arrow1Lstart)" />
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Lstart-4);marker-end:url(#Arrow1Lend-2)" />
     <g
        transform="matrix(0.98314313,0.18283763,-0.18283763,0.98314313,132.81621,-12.620089)"
        id="g3663-9">
index e182a7fedfe64d06c870892c530ac471e40e95d6..7830c25481416255237c76c19d67f6e7cd40c68f 100644 (file)
       <path
          d="m 400.17949,657.93904 c 0,0 -235.01231,1.01015 -235.01231,1.01015"
          id="path3702"
-         style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Lstart);marker-end:url(#Arrow1Lstart)" />
+         style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Lstart-4);marker-end:url(#Arrow1Lend-2)" />
       <g
          transform="matrix(0.98196551,0.12493315,-0.14261338,1.1209308,78.621186,-191.74129)"
          id="g3663">