Esanders has uploaded a new change for review. https://gerrit.wikimedia.org/r/99729
Change subject: Fix svg sources to start at (0,0) not (-0.5,0.5) ...................................................................... Fix svg sources to start at (0,0) not (-0.5,0.5) Change-Id: Ib7e0e18620512272f6c66ec9f81f7d4d38feedfa --- M modules/ve/ui/styles/images/icons/strikethrough-a.svg M modules/ve/ui/styles/images/icons/strikethrough-s.png M modules/ve/ui/styles/images/icons/strikethrough-s.svg M modules/ve/ui/styles/images/icons/underline-a.png M modules/ve/ui/styles/images/icons/underline-a.svg M modules/ve/ui/styles/images/icons/underline-u.svg 6 files changed, 12 insertions(+), 25 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/29/99729/1 diff --git a/modules/ve/ui/styles/images/icons/strikethrough-a.svg b/modules/ve/ui/styles/images/icons/strikethrough-a.svg index 17d1e3a..c309917 100644 --- a/modules/ve/ui/styles/images/icons/strikethrough-a.svg +++ b/modules/ve/ui/styles/images/icons/strikethrough-a.svg @@ -1,10 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="-0.5 0.5 24 24" style="enable-background:new -0.5 0.5 24 24;" xml:space="preserve"> + width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"> <g id="strikethrough-a" style="opacity:0.75;"> - <path id="strikethrough" d="M5.5,11.5h12v1h-12V11.5z"/> - <path id="a" d="M12.166,6.5h-1.372l-4.48,12h1.705l1.494-4h3.999l1.508,4h1.666L12.166,6.5z M9.886,13.5l1.617-4.333 - l1.634,4.333H9.886z"/> + <path id="strikethrough" d="m 6,11 h 12 v 1 H 6 v -1 z"/> + <path id="a" d="m 12.666,6 h -1.372 l -4.48,12 h 1.705 l 1.494,-4 h 3.999 l 1.508,4 h 1.666 L 12.666,6 z m -2.28,7 1.617,-4.333 1.634,4.333 h -3.251 z"/> </g> </svg> diff --git a/modules/ve/ui/styles/images/icons/strikethrough-s.png b/modules/ve/ui/styles/images/icons/strikethrough-s.png index b8680bd..1a16e06 100644 --- a/modules/ve/ui/styles/images/icons/strikethrough-s.png +++ b/modules/ve/ui/styles/images/icons/strikethrough-s.png Binary files differ diff --git a/modules/ve/ui/styles/images/icons/strikethrough-s.svg b/modules/ve/ui/styles/images/icons/strikethrough-s.svg index af18c41..2258a2e 100644 --- a/modules/ve/ui/styles/images/icons/strikethrough-s.svg +++ b/modules/ve/ui/styles/images/icons/strikethrough-s.svg @@ -1,17 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="-0.5 0.5 24 24" style="enable-background:new -0.5 0.5 24 24;" xml:space="preserve"> + width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"> <g id="strikethrough-s" style="opacity:0.75;"> - <path id="strikethrough" d="M4.833,12.5h12v1h-12V12.5z"/> - <path id="s" d="M10.927,6.5c-1.133,0-2.076,0.287-2.75,0.9c-0.67,0.613-1,1.49-1,2.52c0,0.889,0.221,1.602,0.719,2.13 - c0.498,0.528,1.279,0.91,2.312,1.14l0.812,0.182v-0.03c0.656,0.147,1.128,0.375,1.375,0.63c0.252,0.256,0.375,0.607,0.375,1.11 - c0,0.573-0.172,0.97-0.531,1.26c-0.358,0.291-0.894,0.45-1.625,0.45c-0.477,0-0.969-0.074-1.469-0.24 - c-0.502-0.166-1.031-0.417-1.562-0.75l-0.375-0.238v0.448v1.53v0.18l0.156,0.062c0.58,0.237,1.143,0.417,1.688,0.54 - c0.549,0.121,1.07,0.18,1.562,0.18c1.286,0,2.297-0.293,3-0.9c0.709-0.605,1.062-1.486,1.062-2.608 - c0-0.943-0.256-1.726-0.781-2.312c-0.521-0.592-1.305-1-2.344-1.229l-0.812-0.181c-0.716-0.148-1.204-0.352-1.406-0.539 - C9.128,10.532,9.021,10.25,9.021,9.8c0-0.533,0.162-0.899,0.5-1.17c0.342-0.271,0.836-0.42,1.531-0.42 - c0.395,0,0.818,0.052,1.25,0.181c0.433,0.127,0.908,0.333,1.406,0.6l0.375,0.18V7.13c0,0-1.188-0.383-1.688-0.479 - C11.896,6.553,11.411,6.5,10.927,6.5z"/> + <path id="strikethrough" d="m 6,12 h 12 v 1 H 6 v -1 z"/> + <path id="s" d="m 12.094,6 c -1.133,0 -2.076,0.287 -2.75,0.9 -0.67,0.613 -1,1.49 -1,2.52 0,0.889 0.221,1.602 0.719,2.13 0.498,0.528 1.279,0.91 2.312,1.14 l 0.812,0.182 v -0.03 c 0.656,0.147 1.128,0.375 1.375,0.63 0.252,0.256 0.375,0.607 0.375,1.11 0,0.573 -0.172,0.97 -0.531,1.26 -0.358,0.291 -0.894,0.45 -1.625,0.45 -0.477,0 -0.969,-0.074 -1.469,-0.24 C 9.81,15.886 9.281,15.635 8.75,15.302 L 8.375,15.064 v 0.448 1.53 0.18 l 0.156,0.062 c 0.58,0.237 1.143,0.417 1.688,0.54 0.549,0.121 1.07,0.18 1.562,0.18 1.286,0 2.297,-0.293 3,-0.9 0.709,-0.605 1.062,-1.486 1.062,-2.608 0,-0.943 -0.256,-1.726 -0.781,-2.312 -0.521,-0.592 -1.305,-1 -2.344,-1.229 L 11.906,10.774 C 11.19,10.626 10.702,10.422 10.5,10.235 10.295,10.032 10.188,9.75 10.188,9.3 c 0,-0.533 0.162,-0.899 0.5,-1.17 0.342,-0.271 0.836,-0.42 1.531,-0.42 0.395,0 0.818,0.052 1.25,0.181 0.433,0.127 0.908,0.333 1.406,0.6 l 0.375,0.18 V 6.63 c 0,0 -1.188,-0.383 -1.688,-0.479 C 13.063,6.053 12.578,6 12.094,6 z"/> </g> </svg> diff --git a/modules/ve/ui/styles/images/icons/underline-a.png b/modules/ve/ui/styles/images/icons/underline-a.png index 3d5e1b5..93330f6 100644 --- a/modules/ve/ui/styles/images/icons/underline-a.png +++ b/modules/ve/ui/styles/images/icons/underline-a.png Binary files differ diff --git a/modules/ve/ui/styles/images/icons/underline-a.svg b/modules/ve/ui/styles/images/icons/underline-a.svg index c6a024b..fcc6ae8 100644 --- a/modules/ve/ui/styles/images/icons/underline-a.svg +++ b/modules/ve/ui/styles/images/icons/underline-a.svg @@ -1,10 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="-0.5 0.5 24 24" style="enable-background:new -0.5 0.5 24 24;" xml:space="preserve"> + width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"> <g id="underline-a" style="opacity:0.75;"> - <path id="a" d="M13.426,16.5h2.076l-3.463-10H9.962l-3.46,10h2.077l0.627-2h3.604L13.426,16.5z M9.505,12.877l1.496-4.379 - l1.511,4.379h-3H9.505z"/> - <path id="underline" d="M6.002,17.5h10v1h-10V17.5z"/> + <path id="a" d="M 14.424,16 H 16.5 L 13.037,6 H 10.96 L 7.5,16 h 2.077 l 0.627,-2 h 3.604 l 0.616,2 z m -3.921,-3.623 1.496,-4.379 1.511,4.379 h -3 0 z"/> + <path id="underline" d="m 7,17 h 10 v 1 H 7 v -1 z"/> </g> </svg> diff --git a/modules/ve/ui/styles/images/icons/underline-u.svg b/modules/ve/ui/styles/images/icons/underline-u.svg index 1e54977..0d31daf 100644 --- a/modules/ve/ui/styles/images/icons/underline-u.svg +++ b/modules/ve/ui/styles/images/icons/underline-u.svg @@ -1,11 +1,8 @@ -<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="-0.5 0.5 24 24" style="enable-background:new -0.5 0.5 24 24;" xml:space="preserve"> + width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"> <g id="underline-u" style="opacity:0.75;"> - <path id="u" d="M7.5,6.5h2v5.959c-0.104,1.707,0.695,2.002,2,2.041c1.777,0.062,2.002-0.879,2-2.041V6.5h2v6.123 - c0,1.279-0.338,2.245-1.016,2.898c-0.672,0.651-1.666,0.979-2.98,0.979c-1.32,0-2.319-0.326-2.996-0.979 - C7.836,14.868,7.5,13.902,7.5,12.623V6.5"/> - <path id="underline_1_" d="M6.5,17.5h10v1h-10V17.5z"/> + <path id="u" d="m 8,6 h 2 v 5.959 c -0.104,1.707 0.695,2.002 2,2.041 1.777,0.062 2.002,-0.879 2,-2.041 V 6 h 2 v 6.123 c 0,1.279 -0.338,2.245 -1.016,2.898 C 14.312,15.672 13.318,16 12.004,16 10.684,16 9.685,15.674 9.008,15.021 8.336,14.368 8,13.402 8,12.123 V 6"/> + <path id="underline" d="m 7,17 h 10 v 1 H 7 v -1 z"/> </g> </svg> -- To view, visit https://gerrit.wikimedia.org/r/99729 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib7e0e18620512272f6c66ec9f81f7d4d38feedfa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
