From 982c35928b0c6b5664cdb5ea54b00eae8a5448b2 Mon Sep 17 00:00:00 2001 From: Jeremy Grossmann Date: Wed, 6 Jun 2018 16:43:40 +0700 Subject: [PATCH] Update README.rst --- symbols/README.rst | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/symbols/README.rst b/symbols/README.rst index 758a089..ae1b614 100644 --- a/symbols/README.rst +++ b/symbols/README.rst @@ -1,31 +1,38 @@ Symbols ******* -This directory contain symbols that you can import in GNS3. +This directory contains symbols that you can use in GNS3. Rules ===== -* All symbols must be provided as a SVG file -* A file named symbol.txt should exist and contain symbol licence -* Try to keep a small file size -* Max height 70px unless you have a specific reason +* All symbols must be a SVG file +* A file named symbol.txt should exist and contains the symbol licence +* Try to keep the file size small +* The recommended maximum width and height is 70px, please see how to resize a SVG below -Resize a svg +Resize a SVG ============ -If the height of your SVG is too big. You can resize it with -a tools understanding SVG. +It is possible to resize a SVG file using a software like Inkscape or any +other editor that works for SVG images. -For imagemagick you need a version with rsvg (often it's OK on Linux). -For installating it on mac with Homebrew: +Alternatively, you could use ImageMagick (with rsvg support) on Mac OS and Linux + +Example to install ImageMagick on Mac using Homebrew: ``` brew install imagemagick --with-librsvg ``` -For resizing with a height of 70: +Example to install ImageMagick on Debian or Ubuntu: + +``` +sudo apt-get install imagemagick +``` + +Example to resize to a width and height of 70px: ``` convert -background none symbols/firefox.svg -resize x70 firefox.svg