[adwaita-icon-theme] symbolic: render rotation icons



commit 8e883086c0d3bcec773a48e15de46cdfe831d1c2
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Nov 7 14:43:44 2019 +0100

    symbolic: render rotation icons
    
    Fixes https://gitlab.gnome.org/GNOME/adwaita-icon-theme/issues/49

 Adwaita/scalable/status/rotation-allowed-symbolic.svg | 7 +------
 Adwaita/scalable/status/rotation-locked-symbolic.svg  | 7 +------
 render-symbolic.rb                                    | 6 +++---
 3 files changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/Adwaita/scalable/status/rotation-allowed-symbolic.svg 
b/Adwaita/scalable/status/rotation-allowed-symbolic.svg
index 6ca0fd2d..9d3e2644 100644
--- a/Adwaita/scalable/status/rotation-allowed-symbolic.svg
+++ b/Adwaita/scalable/status/rotation-allowed-symbolic.svg
@@ -1,6 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg"; width="16.003" height="16">
-    <g color="#000" font-weight="400" font-family="sans-serif" white-space="normal" fill="#2e3436">
-        <path d="M15.003 2c-.554 0-1 .446-1 1v3h-3c-.554 0-1 .446-1 1v1h6V2z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal"
 overflow="visible" fill-rule="evenodd"/>
-        <path d="M7.546 1.016a7.01 7.01 0 0 0-6.483 6.07 7.01 7.01 0 0 0 4.69 7.543 7.01 7.01 0 0 0 
8.312-3.129 1 1 0 1 0-1.732-1 4.99 4.99 0 0 1-5.938 2.234 4.99 4.99 0 0 1-3.35-5.386A4.992 4.992 0 0 1 7.678 
3.01a4.99 4.99 0 0 1 5.156 3.695 1 1 0 1 0 1.932-.517 7.008 7.008 0 0 0-7.22-5.172z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal"
 overflow="visible"/>
-    </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg"; width="16.001" height="16.047"><g color="#000" font-weight="400" 
fill="#2e3436"><path d="M9.003.09v2.04a4.98 4.98 0 013.566 2.888h-1.568c-.554 0-1 .446-1 1v1h6v-6h-1c-.554 
0-1 .446-1 1v1.396A7.037 7.037 0 009.003.09zm0 12.781v.3a1 1 0 000-.3z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1"
 font-family="sans-serif" overflow="visible" fill-rule="evenodd"/><path d="M9.74 16.047c.515 0 1.021-.177 
1.407-.562l4.25-4.25c.77-.772.756-2.074 0-2.844l-.472-.373H12.08l1.91 1.81-4.25 
4.22-7.72-7.782c-.015-.016-.043-.02-.03-.031l4.25-4.25 1.735 
 1.899V1.
 07L7.678.61 7.647.578a1.999 1.999 0 00-2.813 0l-4.25 4.25a2.004 2.004 0 000 2.813l7.75 
7.844c.386.388.892.563 1.407.562z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 font-family="Sans" overflow="visible"/></g></svg>
\ No newline at end of file
diff --git a/Adwaita/scalable/status/rotation-locked-symbolic.svg 
b/Adwaita/scalable/status/rotation-locked-symbolic.svg
index 86f6ca2d..1a34c19d 100644
--- a/Adwaita/scalable/status/rotation-locked-symbolic.svg
+++ b/Adwaita/scalable/status/rotation-locked-symbolic.svg
@@ -1,6 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg"; width="16.034" height="16.063">
-    <g color="#000" font-weight="400" fill="#2e3436">
-        <path d="M8.116 1A7.013 7.013 0 0 0 1.03 8.61 7.013 7.013 0 0 0 8.003 15a1 1 0 1 0 0-2 4.987 4.987 0 
0 1-4.98-4.564 4.986 4.986 0 0 1 4.11-5.36A4.976 4.976 0 0 1 12.572 6h-1.568c-.554 0-1 .446-1 
1v1h6V2h-1c-.554 0-1 .446-1 1v1.396A7.027 7.027 0 0 0 8.116 1z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal"
 font-family="sans-serif" white-space="normal" overflow="visible" opacity=".35" fill-rule="evenodd"/>
-        <path d="M13.034 8.938c-1.089 0-2 .878-2 
1.968V12h-.969v4.063h5.97V12h-1.032v-1.094c0-1.09-.88-1.969-1.969-1.969zm0 1c.546 0 
.969.417.969.968V12h-1.969v-1.094c0-.551.454-.969 1-.969z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 font-family="Sans" overflow="visible"/>
-    </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg"; width="16" height="16.063"><g fill="#2e3436"><path 
d="M6.241.016c-.51 0-1.02.192-1.406.578l-4.25 4.25a2.004 2.004 0 000 2.812l7.75 7.844c.386.388.892.563 
1.406.563.514-.001 1.02-.177 
1.406-.563l4.25-4.25c.106-.106.194-.223.27-.346-.181.057-.37.096-.57.096h-2.27l-3.086 3.063L2.022 
6.28c-.015-.015-.043-.019-.03-.03L6.241 2l.76.833v-.928c0-.538.223-1.02.579-1.367a1.982 1.982 0 
00-1.34-.523z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 color="#000" font-weight="400" font-family="Sans" overflow="visible"/><path d="M11.003 
0s-.709-.014-1.447.356C8.817.725 8.003 1.666 8.003 
3v1h-1v6h8V4h-1V3c0-1.333-.814-2.275-1.553-2.644C11.712-.014 11.003 0 11.003 0zm0 
2s.291.014.553.145c.261.13.447.188.447.855v1h-2V3c0-.667.186-.725.447-.855.262-.131.553-.145.553-.145z" 
style="marker:none" color="#bebebe" overflow="visible"/></g></svg>
\ No newline at end of file
diff --git a/render-symbolic.rb b/render-symbolic.rb
index 21839541..6b3b4a9c 100755
--- a/render-symbolic.rb
+++ b/render-symbolic.rb
@@ -5,8 +5,8 @@ require "fileutils"
 include REXML
 
 
-INKSCAPE = 'flatpak run org.inkscape.Inkscape'
-# INKSCAPE = '/usr/bin/inkscape'
+#INKSCAPE = 'flatpak run org.inkscape.Inkscape'
+INKSCAPE = '/usr/bin/inkscape'
 SRC = "src/symbolic/gnome-stencils.svg"
 PREFIX = "Adwaita/scalable"
 PREFIX32 = "Adwaita/scalable-up-to-32" # dirty but it allows rendering those up-to icons
@@ -105,4 +105,4 @@ else #only render the icons passed
                                        :forcerender => true})
        end
        puts "\nrendered #{ARGV.length} icons"
-end
\ No newline at end of file
+end


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