[libvirt] [PATCH 2/2] docs: logos: Resize the 'Drop shadow' filter bounding box

Erik Skultety eskultet at redhat.com
Sun Feb 25 22:45:45 UTC 2018


Inkscape makes "Drop shadow" filter's bounding box unnecessarily large.
Since inkscape will make a union of all the objects to form an image,
which means that our logos end up having an undesired "space" padding
from one side only which in turn makes usage of vertical alignment of
objects clumsy, since it the spacing would always make it look as out of
alignment. The official way to "fix" this is to fiddle with the
coordinates of the box and adjust its dimensions, not ideal as it lacks
precision, but makes a difference.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 docs/logos/logo-banner-dark.svg  | 6 +++++-
 docs/logos/logo-banner-light.svg | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/docs/logos/logo-banner-dark.svg b/docs/logos/logo-banner-dark.svg
index 0af83fd59..47080bb40 100644
--- a/docs/logos/logo-banner-dark.svg
+++ b/docs/logos/logo-banner-dark.svg
@@ -22,7 +22,11 @@
     <filter
        style="color-interpolation-filters:sRGB"
        inkscape:label="Drop Shadow"
-       id="filter5799">
+       id="filter5799"
+       x="-0.030000000000000000"
+       y="-0.030000000000000000"
+       width="1.0800000000000000"
+       height="1.0800000000000000">
       <feFlood
          flood-opacity="1"
          flood-color="rgb(0,0,0)"
diff --git a/docs/logos/logo-banner-light.svg b/docs/logos/logo-banner-light.svg
index 4349534cb..5f7b4e561 100644
--- a/docs/logos/logo-banner-light.svg
+++ b/docs/logos/logo-banner-light.svg
@@ -22,7 +22,11 @@
     <filter
        style="color-interpolation-filters:sRGB"
        inkscape:label="Drop Shadow"
-       id="filter5799-39">
+       id="filter5799-39"
+       x="-0.030000000000000000"
+       y="-0.030000000000000000"
+       width="1.0800000000000000"
+       height="1.0800000000000000">
       <feFlood
          flood-opacity="1"
          flood-color="rgb(0,0,0)"
-- 
2.13.6




More information about the libvir-list mailing list