loleaflet/images/indentation_marker_down.svg |   15 +++------------
 loleaflet/images/indentation_marker_up.svg   |   15 +++------------
 2 files changed, 6 insertions(+), 24 deletions(-)

New commits:
commit cd0ae0df7001ab9d33cf51bfbc5d5cf054d8367d
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Thu May 14 14:39:00 2020 +0200
Commit:     Pedro Pinto da Silva <pedro.si...@collabora.com>
CommitDate: Thu May 14 15:40:07 2020 +0200

    Fix indentation markers:
    
    - SVG markup: Convert polygon to path
    - SVG markup: remove xml transformations
    - SVG markup: optimize svg
    - increase border so it's visible at 100%
    - modify border color (so it's not 100% black)
    
    Change-Id: Ie0237793ea59b6877013c8f0bca37b73053c89d3
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94198
    Tested-by: Pedro Pinto da Silva <pedro.si...@collabora.com>
    Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com>

diff --git a/loleaflet/images/indentation_marker_down.svg 
b/loleaflet/images/indentation_marker_down.svg
index 9dd7fa373..10980cd82 100644
--- a/loleaflet/images/indentation_marker_down.svg
+++ b/loleaflet/images/indentation_marker_down.svg
@@ -1,13 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="14" height="10" version="1.1" viewBox="0 0 14 10" 
xmlns="http://www.w3.org/2000/svg"; xmlns:cc="http://creativecommons.org/ns#"; 
xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
- <metadata>
-  <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/>
-   </cc:Work>
-  </rdf:RDF>
- </metadata>
- <polygon transform="matrix(.10796 0 0 .098871 -.55736 -.50999)" points="130 
50 70 100 10 50 10 10 130 10" fill="#fff" stroke="#000" stroke-width="9.6788"/>
+<svg width="14" height="10" version="1.1" viewBox="0 0 14 10" 
xmlns="http://www.w3.org/2000/svg";>
+ <path d="m0.67518 0.6752v3.7701l6.3248 4.7127 6.3248-4.7127v-3.7701z" 
color="#000000" color-rendering="auto" dominant-baseline="auto" fill="#fff" 
image-rendering="auto" shape-rendering="auto" solid-color="#000000" 
stop-color="#000000" 
style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;font-variation-settings:normal;inline-size:0;isolation:auto;mix-blend-mode:normal;paint-order:normal;shape-margin:0;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
+ <path d="m7 10-7-5.2168v-4.7832h14v4.7832zm0-1.6836 
5.8-4.209v-2.9074h-11.6v2.9074z" color="#000000" color-rendering="auto" 
dominant-baseline="auto" fill="#4d4d4d" image-rendering="auto" 
shape-rendering="auto" solid-color="#000000" stop-color="#000000" 
style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;font-variation-settings:normal;inline-size:0;isolation:auto;mix-blend-mode:normal;paint-order:normal;shape-margin:0;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
 </svg>
diff --git a/loleaflet/images/indentation_marker_up.svg 
b/loleaflet/images/indentation_marker_up.svg
index 2bb0a9baf..bbb67b2ae 100644
--- a/loleaflet/images/indentation_marker_up.svg
+++ b/loleaflet/images/indentation_marker_up.svg
@@ -1,13 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="14" height="10" version="1.1" viewBox="0 0 14 10" 
xmlns="http://www.w3.org/2000/svg"; xmlns:cc="http://creativecommons.org/ns#"; 
xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
- <metadata>
-  <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/>
-   </cc:Work>
-  </rdf:RDF>
- </metadata>
- <polygon transform="matrix(-.10796 0 0 -.098871 14.557 10.51)" points="130 10 
130 50 70 100 10 50 10 10" fill="#fff" stroke="#000" stroke-width="9.6788"/>
+<svg width="14" height="10" version="1.1" viewBox="0 0 14 10" 
xmlns="http://www.w3.org/2000/svg";>
+ <path d="m0.67518 9.3248v-3.7701l6.3248-4.7127 6.3248 4.7127v3.7701z" 
color="#000000" color-rendering="auto" dominant-baseline="auto" fill="#fff" 
image-rendering="auto" shape-rendering="auto" solid-color="#000000" 
stop-color="#000000" 
style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;font-variation-settings:normal;inline-size:0;isolation:auto;mix-blend-mode:normal;paint-order:normal;shape-margin:0;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
+ <path d="m7 0-7 5.2168v4.7832h14v-4.7832zm0 1.6836 5.8 
4.209v2.9074h-11.6v-2.9074z" color="#000000" color-rendering="auto" 
dominant-baseline="auto" fill="#4d4d4d" image-rendering="auto" 
shape-rendering="auto" solid-color="#000000" stop-color="#000000" 
style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;font-variation-settings:normal;inline-size:0;isolation:auto;mix-blend-mode:normal;paint-order:normal;shape-margin:0;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
 </svg>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to