Skip to content
Snippets Groups Projects
Commit fc96bfb4 authored by Johannes Wasmer's avatar Johannes Wasmer
Browse files

git add fig/icons/inkscape-open-symbols

parent 54e2805a
Branches
No related tags found
No related merge requests found
Showing
with 664 additions and 0 deletions
/node_modules
/material-design-icons
#!/bin/bash
set -e
# Preparations are:
# sudo apt-get install npm gulp
# sudo npm install -g npm
# sudo npm -g install svgo
# npm install
DIRECTORIES='material-design material-design-outlined material-design-round material-design-sharp material-design-twotone'
rm -rf $DIRECTORIES
if [ -e material-design-icons ]; then
cd material-design-icons
git pull -r
else
git clone https://github.com/google/material-design-icons.git
cd material-design-icons
fi
cd src
for CATEGORY in *; do
echo $CATEGORY
cd $CATEGORY
for ICON in *; do
echo \ \ $ICON
cd $ICON
for STYLE in *; do
if [ $STYLE = materialicons ]; then
cd $STYLE
mkdir -p ../../../../../material-design/material-design-$CATEGORY
if [ -e 36px.svg ]; then # resolution
cp 36px.svg ../../../../../material-design/material-design-$CATEGORY/$ICON.svg
else
if [ -e 24px.svg ]; then
cp 24px.svg ../../../../../material-design/material-design-$CATEGORY/$ICON.svg
else
if [ -e 20px.svg ]; then
cp 20px.svg ../../../../../material-design/material-design-$CATEGORY/$ICON.svg
else
if [ -e 18px.svg ]; then
cp 18px.svg ../../../../../material-design/material-design-$CATEGORY/$ICON.svg
else
echo ERROR: Unsupported resolution
pwd
ls
exit 1
fi
fi
fi
fi
cd ..
fi
if [ $STYLE = materialiconsoutlined ]; then
cd $STYLE
mkdir -p ../../../../../material-design-outlined/material-design-outlined-$CATEGORY
if [ -e 36px.svg ]; then # resolution
cp 36px.svg ../../../../../material-design-outlined/material-design-outlined-$CATEGORY/$ICON.svg
else
if [ -e 24px.svg ]; then
cp 24px.svg ../../../../../material-design-outlined/material-design-outlined-$CATEGORY/$ICON.svg
else
if [ -e 20px.svg ]; then
cp 20px.svg ../../../../../material-design-outlined/material-design-outlined-$CATEGORY/$ICON.svg
else
if [ -e 18px.svg ]; then
cp 18px.svg ../../../../../material-design-outlined/material-design-outlined-$CATEGORY/$ICON.svg
else
echo ERROR: Unsupported resolution
pwd
ls
exit 1
fi
fi
fi
fi
cd ..
fi
if [ $STYLE = materialiconsround ]; then
cd $STYLE
mkdir -p ../../../../../material-design-round/material-design-round-$CATEGORY
if [ -e 36px.svg ]; then # resolution
cp 36px.svg ../../../../../material-design-round/material-design-round-$CATEGORY/$ICON.svg
else
if [ -e 24px.svg ]; then
cp 24px.svg ../../../../../material-design-round/material-design-round-$CATEGORY/$ICON.svg
else
if [ -e 20px.svg ]; then
cp 20px.svg ../../../../../material-design-round/material-design-round-$CATEGORY/$ICON.svg
else
if [ -e 18px.svg ]; then
cp 18px.svg ../../../../../material-design-round/material-design-round-$CATEGORY/$ICON.svg
else
echo ERROR: Unsupported resolution
pwd
ls
exit 1
fi
fi
fi
fi
cd ..
fi
if [ $STYLE = materialiconssharp ]; then
cd $STYLE
mkdir -p ../../../../../material-design-sharp/material-design-sharp-$CATEGORY
if [ -e 36px.svg ]; then # resolution
cp 36px.svg ../../../../../material-design-sharp/material-design-sharp-$CATEGORY/$ICON.svg
else
if [ -e 24px.svg ]; then
cp 24px.svg ../../../../../material-design-sharp/material-design-sharp-$CATEGORY/$ICON.svg
else
if [ -e 20px.svg ]; then
cp 20px.svg ../../../../../material-design-sharp/material-design-sharp-$CATEGORY/$ICON.svg
else
if [ -e 18px.svg ]; then
cp 18px.svg ../../../../../material-design-sharp/material-design-sharp-$CATEGORY/$ICON.svg
else
echo ERROR: Unsupported resolution
pwd
ls
exit 1
fi
fi
fi
fi
cd ..
fi
if [ $STYLE = materialiconstwotone ]; then
cd $STYLE
mkdir -p ../../../../../material-design-twotone/material-design-twotone-$CATEGORY
if [ -e 36px.svg ]; then # resolution
cp 36px.svg ../../../../../material-design-twotone/material-design-twotone-$CATEGORY/$ICON.svg
else
if [ -e 24px.svg ]; then
cp 24px.svg ../../../../../material-design-twotone/material-design-twotone-$CATEGORY/$ICON.svg
else
if [ -e 20px.svg ]; then
cp 20px.svg ../../../../../material-design-twotone/material-design-twotone-$CATEGORY/$ICON.svg
else
if [ -e 18px.svg ]; then
cp 18px.svg ../../../../../material-design-twotone/material-design-twotone-$CATEGORY/$ICON.svg
else
echo ERROR: Unsupported resolution
pwd
ls
exit 1
fi
fi
fi
fi
cd ..
fi
done # STYLE
cd ..
done # ICON
cd ..
done # CATEGORY
cd ../.. # material-design-icons/src
for DIRECTORY in $DIRECTORIES; do
svgo -q -r -i $DIRECTORY
for i in $DIRECTORY/*; do
gulp --max-old-space-size=4096 --iconset $i --dest .
done
done
#TODO
#!/bin/bash
set -e
DIRECTORIES='material-design material-design-outlined material-design-round material-design-sharp material-design-twotone'
#TODO When fixed, move to 1-update-material-design.sh
for DIRECTORY in $DIRECTORIES; do
for i in $DIRECTORY/*; do
if [ ! -d $i ]; then
continue
fi
#TODO remove next if when all is fixed, this is only to preserve the previous but working limited set
if [ $DIRECTORY = material-design -a $i != material-design/material-design-home -a $i != material-design/material-design-search ]; then
echo $i
continue
fi
NAME=`echo $DIRECTORY|sed -e 's/-/ /g'|sed -e 's/\b\(.\)/\u\1/g'`' Icons \['`echo $i|sed 's/.*-//'|sed -e 's/\b\(.\)/\u\1/g'`' Set\]'
sed -i -e 's/<\/symbol><\/svg>/<\/symbol>\n<\/svg>/g' $i/sprite/svg-symbols.svg
head -n 45 template.svg|grep -v Edit|sed -e 's/2015-02-18/'`date +%Y-%m-%d`'/' > $i.svg
sed -i -e 's/Material Design Icons \[Action Set\]/'"$NAME"'/g' $i.svg
sed -i -e 's/style="fill:black;stroke:black">/style="fill:black;stroke:none">/g' $i.svg #FIXME
# sed -i -e 's/style="fill:black;stroke:black">/style="fill:none;stroke:black">/g' $i.svg #FIXME
head -n -1 $i/sprite/svg-symbols.svg|tail -n +2|sed -e 's/^ / /g' >> $i.svg
tail -n 2 template.svg >> $i.svg
done
done
#cp -f material-design/*.svg ~/.config/inkscape/symbols
#!/bin/bash
set -e
DIRECTORIES='material-design material-design-outlined material-design-round material-design-sharp material-design-twotone'
#TODO When fixed, move to 1-update-material-design.sh
for DIRECTORY in $DIRECTORIES; do
for i in $DIRECTORY/*; do
if [ ! -d $i ]; then
continue
fi
#UNCOMMENT rm -rf $i
done
done
## Creator
- [Xaviju](https://github.com/Xaviju) <xaviju@gmail.com>
### Collaborators
- [Jacques Laroche](https://github.com/jlar0che) <https://currentperspectives.org>
- [Mivoligo](https://github.com/mivoligo) <http://mivoligo.com/>
- [Victor Westmann](https://github.com/victorwestmann) <http://about.me/victorwestmann>
- [Pablo Guerrero Rosel](https://github.com/siriux) <siriux@gmail.com>
- [Jedidja](https://github.com/jedidja) <http://jedidja.ca/>
- [Alexandre Leroux](https://github.com/alexandreleroux) <http://animoog.org/>
- [elhombretecla](https://github.com/elhombretecla) <soy@elhombretecla.com>
- [cleversomeday](https://github.com/cleversomeday)
- [Maren Hachmann](https://github.com/moini) <http://vektorrascheln.de>
- [Joel Jose](https://github.com/joel-jose) <http://www.ee.iitb.ac.in/student/~joeljose>
- [Pander](http://github.com/PanderMusubi)
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at xaviju@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
## How to contribute
New symbol sets and fixes to current symbol sets are essential for keeping Inkscape Open Symbols a great resource for developers and designers. We simply can't get enough time to support all the amazing available SVG resources out there. To keep it easy as possible to contribute to this repository, please follow a few guidelines. Please don't hesitate to contact me for any help or mentorship.
## License
This repository contains multiple symbol sets with their own licenses. Using them requires you to be aware that you are subject to the license of the used symbol set. All symbol set licenses are listed in the README file and in their own file metadata. The LICENSE file refers to everything unrelated to the symbol sets.
## Getting Started
To create a new symbol set is not required any advanced technical knowledge, although knowledge of basic gulp, npm and SVG will be very useful.
Please ensure that you have already installed:
- [npm](https://www.npmjs.com/)
- [svgo](https://github.com/svg/svgo) _optional, but highly recommended_
- [Inkscape](https://inkscape.org/) _yes,of course_
## New iconset
1. Create a new folder ```<nameofyoursymbols>``` and add all the SVGs that you want to turn into a new symbol set.
2. Execute ```npm install``` to install the required libraries
3. Execute ```svgo``` in your new created folder. It will clean all the icons. Some of the icons could be broken after this. We will test and fix that later.
4. Execute ```gulp --iconset <nameofyoursymbols> --dest <nameofyoursymbols>```. Please change _<nameofyoursymbols>_ with the name of the folder you created in the step 1.
5. A new file named ```svg-sprite.svg``` will be created under ```nameofyoursymbols/nameofyoursymbols/sprite/```
6. Duplicate the file [template.svg](https://github.com/Xaviju/inkscape-open-symbols/blob/master/template.svg) with your iconset name and copy all the ```<symbols>``` from your file replacing the placeholder symbol in the template.
7. Edit the header info in your new file. Do not forget to add the license, the creator and the link to the original repository or website.
8. Add in your ```<svg>``` tag: ```style="fill:black;stroke:none"``` to help Inkscape display better the new iconset.
9. Remove the folder you created in the step 1 and all the SVGs.
10. Create a new empty folder named as the new symbol library and move inside the new file you create from the template with the name ```nameofyourfolder-symbols.svg```
A new symbol library should look like [this](https://github.com/Xaviju/inkscape-open-symbols/blob/master/dashicons/dashicons-set.svg)
## Testing the iconset
Testing the iconset is as important as creating it.
1. Copy your new symbol set file into ```~/.config/inkscape/symbols```
2. Open Inkscape and press ```Ctrl + Shift + Y``` to display the symbol panel.
3. Unfold the symbol selector. Ensure that your new iconset is in the list and has a recognizable name.
4. Click and review the icons. Ensure that are not broken.
## Fixing broken icons
SVGO can break many symbols, but cleans most of them very well. If some of your symbols are broken while testing, check which one is and try cleaning it manually using [SVGOMG](https://jakearchibald.github.io/svgomg/).
Then, copy the code into your file replacing the previous code and retest the symbol set.
## Pull Requests
A pull request is the best way to contribute. Your symbol set will always include your name as contributor and you will help designers around the world to wireframe, design or create amazing user experiences.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
MIT License
Copyright (c) 2017 Xavier Julián <xaviju@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Inkscape Open Symbols
**Symbol libraries are sets of SVG symbols located in one SVG document.** For the more technical audience, Inkscape searches for any valid SVG file with symbols (```<symbol>``` element) in your system configuration directory (typically ```share/inkscape```)
## Why use Inkscape Open Symbols?
Inkscape 0.91 includes just five example libraries: Logic Symbols, AIGA/DOT Transportation Symbols, Map Symbols, Flow Chart Shapes, and Word Balloons (made by Martin Owens and Tavmjong Bah).
Inkscape Open Symbols adds a whole lot more!
![Using Inkscape Symbols](http://i.imgur.com/fHiouO8.png)
## Which symbols are included in Inkscape Open Symbols?
The included symbols libraries so far are:
**[Google Material Design Icons](https://github.com/google/material-design-icons)**
<details>
<summary>Sets</summary>
Google Material Design are available in the following styles.
Set | normal | Outlined | Round | Sharp | Twotone
------------------|--------|----------|-------|-------|--------
**Action** | ✓ | WIP | WIP | WIP | WIP
**Alert** | ✓ | WIP | WIP | WIP | WIP
**AV** | ✓ | WIP | WIP | WIP | WIP
**Communication** | ✓ | WIP | WIP | WIP | WIP
**Content** | ✓ | WIP | WIP | WIP | WIP
**Device** | ✓ | WIP | WIP | WIP | WIP
**Editor** | ✓ | WIP | WIP | WIP | WIP
**File** | ✓ | WIP | WIP | WIP | WIP
**Hardware** | ✓ | WIP | WIP | WIP | WIP
**Home** | WIP | WIP | WIP | WIP | WIP
**Image** | ✓ | WIP | WIP | WIP | WIP
**Maps** | ✓ | WIP | WIP | WIP | WIP
**Navigation** | ✓ | WIP | WIP | WIP | WIP
**Notification** | ✓ | WIP | WIP | WIP | WIP
**Places** | ✓ | WIP | WIP | WIP | WIP
**Search** | WIP | WIP | WIP | WIP | WIP
**Social** | ✓ | WIP | WIP | WIP | WIP
**Toggle** | ✓ | WIP | WIP | WIP | WIP
Here WIP stands for work in progress and the related files should not yet be
packaged for distribution.
A live [preview](http://google.github.io/material-design-icons/) of this icon set is available at the Google Material Design github repo.
</details>
<br/>
**[Github Octicons](https://octicons.github.com/)**
GitHub's icon font
**[Humble UI](https://github.com/PanderMusubi/inkscape-open-symbols/wiki/Humble-UI)**
A simple UX UI elements for your wireframes created by [Xaviju](https://github.com/Xaviju)
**[Suru Icon Set](https://snwh.org/suru)**
Suru is the icon theme originally created for Ubuntu phones and tablets. Thanks to [mivoligo](https://github.com/mivoligo) for converting them to Inkscape symbols.
<details>
<summary>Sets</summary>
* Ubuntu Suru **Actions** Set
* Ubuntu Suru **Apps** Set
* Ubuntu Suru **Devices** Set
* Ubuntu Suru **Mimetypes** Set
* Ubuntu Suru **Status** Set
</details>
<br/>
**[Font Awesome Icons](http://fortawesome.github.io/Font-Awesome/icons/)**
Font Awesome is a full suite of 675 pictographic icons for easy scalable vector graphics on websites, created and maintained by Dave Gandy.
<details>
<summary>Sets</summary>
* Font Awesome **Brands** Set
* Font Awesome **Solid** Set
* Font Awesome **Regular** Set
</details>
<br/>
**[Fork Awesome](https://forkaweso.me/Fork-Awesome/)**
Fork Awesome is a fork of Font Awesome that accepts contributions.
**[Gnome Icon Theme Symbolic](https://git.gnome.org//browse/gnome-icon-theme-symbolic/)**
This set contains a set of icons used by the GNOME desktop. The icons are used in the panel menu, and in nautilus and other applications, to represent the different applications, files, directories, and devices.
<details>
<summary>Sets</summary>
* Gnome Symbolic **Action** Set
* Gnome Symbolic **Apps** Set
* Gnome Symbolic **Categories** Set
* Gnome Symbolic **Devices** Set
* Gnome Symbolic **Emblems** Set
* Gnome Symbolic **Emotes** Set
* Gnome Symbolic **Mimetypes** Set
* Gnome Symbolic **Places** Set
* Gnome Symbolic **Status** Set
</details>
<br/>
**[Automattic Genericons](https://github.com/Automattic/Genericons)** Genericons are vector icons embedded in a webfont designed to be clean and simple keeping with a generic aesthetic.
**[Taiga Icons](https://github.com/taigaio)** Icon set from Taiga: a project management platform for agile developers & designers.
**[Open Iconic](https://github.com/iconic/open-iconic)** An open source icon set with 223 marks in SVG, webfont and raster formats
**[Entypo](http://www.entypo.com/)** 411 carefully crafted premium pictograms by [Daniel Bruce](http://www.danielbruce.se/)
* Entypo Icons **Social** Set, icons ported from [Entypo's Social Extension SVG Set](http://www.entypo.com/) by [Jacques Laroche](http://currentperspectives.org/about/).
**Weatherize** A set of symbols for weather related events made by **[Jacques Laroche](http://currentperspectives.org/about/)**.
**StateFace** USA States Symbol Set with all 50 states plus D.C. and a wee continental U.S. map by **[StateFace](https://propublica.github.io/stateface/)**. Thanks to [cleversomeday](https://github.com/cleversomeday)
**[EmojiOne](http://emojione.com/)** the first complete, independent, open-source emoji set.
**[Dashicons](https://github.com/WordPress/dashicons)** Dashicons, the WordPress admin icon font.
**[CircuiTikZ](https://github.com/circuitikz/circuitikz/)** This list of electronic components is intended to make drawing of schematics simple, fast and very flexible, using common vector image editors.
**[Ionicons](http://ionicons.com/)** The premium icon font for Ionic Framework.
**[SJJB Map Icons](http://www.sjjb.co.uk/mapicons/)** by SJBB Management, a simple consistent set of vector icons suitable for cartographic use, created specifically to be used by Open Street Map. All icons are available in a square and in an inverted version.
<details>
<summary>Sets</summary>
* SJJB Map Icons **Accommodation** Set
* SJJB Map Icons **Amenity** Set
* SJJB Map Icons **Barrier** Set
* SJJB Map Icons **Education** Set
* SJJB Map Icons **Food** Set
* SJJB Map Icons **Health** Set
* SJJB Map Icons **Landuse** Set
* SJJB Map Icons **Money** Set
* SJJB Map Icons **Place of Worship** Set
* SJJB Map Icons **POI** Set
* SJJB Map Icons **Power** Set
* SJJB Map Icons **Shopping** Set
* SJJB Map Icons **Sport** Set
* SJJB Map Icons **Tourist** Set
* SJJB Map Icons **Transport** Set
* SJJB Map Icons **Water** Set
</details>
<br/>
## Symbol set licenses
- [Apache 2.0]
- [Google Material Design Icons](https://github.com/google/material-design-icons/blob/master/LICENSE)
- [CC0 Public Domain Dedication]
- [SJJB Map Icons](http://www.sjjb.co.uk/mapicons/introduction)
- [CC BY-SA 3.0]
- [Gnome Icon Theme Symbolic](https://git.gnome.org//browse/gnome-icon-theme-symbolic/)
- [CC BY 4.0]
- [Emoji one](http://emojione.com/licensing/)
- [CC BY-SA 4.0]
- [Entypo](http://www.entypo.com/)
- [Taiga Icons](https://github.com/taigaio/taiga-design/blob/master/LICENSE)
- [Wheatherize](https://github.com/jlar0che)
- [GPL v2+]
- [Dashicons](https://github.com/WordPress/dashicons/blob/master/gpl.txt)
- [Genericons](https://github.com/Automattic/genericons-neue/blob/master/COPYING.md)
- [GPL v3+]
- [CircuiTikZ](https://github.com/circuitikz/circuitikz/blob/master/gpl-3.0_license.txt)
- [Suru](https://github.com/snwh/suru-icon-theme/blob/master/COPYING)
- [MIT]
- [Humble UI](https://github.com/PanderMusubi/inkscape-open-symbols/wiki/Humble-UI)
- [Github Octicons](https://github.com/primer/octicons/blob/master/LICENSE)
- [Ionicons](https://github.com/ionic-team/ionicons/blob/master/LICENSE)
- [Open Iconic](https://github.com/iconic/open-iconic/blob/master/ICON-LICENSE)
- [StateFace](https://propublica.github.io/stateface/)
- [SIL OFL 1.1]
- [Font Awesome](http://fontawesome.io/license/)
**Note: This repository contains multiple symbol sets with their own licenses. Using them requires you to be aware that you are subject to the license of the used symbol set. All symbol set licenses are listed in the README file and in their own file metadata. The LICENSE file refers to everything unrelated to the symbol sets.**
[MIT]: https://opensource.org/licenses/MIT
[Apache 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[SIL OFL 1.1]: http://scripts.sil.org/OFL
[GPL v2+]: https://www.gnu.org/licenses/gpl-2.0.en.html
[GPL V3+]: https://www.gnu.org/licenses/gpl-3.0.en.html
[CC0 Public Domain Dedication]: https://creativecommons.org/publicdomain/zero/1.0/
[CC BY-SA 3.0]: https://creativecommons.org/licenses/by-sa/3.0/
[CC BY-SA 4.0]: https://creativecommons.org/licenses/by-sa/4.0/
[CC BY 4.0]: https://creativecommons.org/licenses/by/4.0/
## How do I install Inkscape Open Symbols?
In [Ubuntu] and [Debian], it is possible to easily install Inkscape Open Symbols with a package manager of your choice. Simply typing `sudo apt-get install inkscape-open-symbols` in a shell will install it for all users.
For other platform or distributions:
1. Grab the icon libraries you need by **cloning the repo** or **downloading the ZIP**. You can also save the SVG files to your system directly from GitHub.
2. Copy the individual SVG files into your Inkscape config folder under the ```symbols``` folder. If it's not there, create it.
- For OS X and Linux, the local user directory is `~/.config/inkscape/symbols`.
- For Windows, the local user roaming directory is `%APPDATA%\inkscape\symbols`.
3. Launch Inkscape (close it first if it's already running).
4. Open Symbols from ```Object > symbols``` or press ```Ctrl+Shift+Y```. You should see all icon sets in the "Symbol set" dropdown.
Available in Arch Linux and distributed through [AUR]
[Ubuntu]: https://packages.ubuntu.com/search?keywords=inkscape-open-symbols
[Debian]: https://packages.debian.org/search?keywords=inkscape-open-symbols
[AUR]: https://aur.archlinux.org/packages/inkscape-open-symbols-git/
## How can I request new symbols?
Please fill out an issue and provide a SVG reference. If available and well created, it will be fast to generate.
## Why not do it from the UI?
It is perfectly fine to use the Inkscape UI for library development, but they won't be as useful for developers as when they are well generated, minimized and packed for use in production development in some cases.
**Some icons need to be SVG processed in order to be fully useful for both for designers and developers.**
**If you don't need to use it for web development you can watch this cool UI creation video**: [Creating symbol libraries in Inkscape](https://www.youtube.com/watch?v=jdaGB0zCdHw)
## How can I contribute?
Give a star to the repo at https://github.com/PanderMusubi/inkscape-open-symbols
Upvote or help solve the following Inkscape issues regarding symbols:
- https://gitlab.com/inkscape/inkscape/-/issues/2916
- https://github.com/flathub/org.inkscape.Inkscape/issues/95
- https://bugs.launchpad.net/inkscape/+bug/1514481
- https://gitlab.com/inkscape/inkscape-web/-/issues/526
Check the [CONTRIBUTING](https://github.com/PanderMusubi/inkscape-open-symbols/blob/master/CONTRIBUTING.md) guide.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
inkscapeSymbolGenerator: An Inkscape symbol library generator
Copyright (C) 2015 Xavier Julián Olmos
See the file LICENSE for copying permission.
"""
import os
from optparse import OptionParser
####Objetivo
#If select all merge all files in a single SVG and then
#If select file, clean it with SVGO
#Remove styles then
#Save
####Deberes
# Compactar el formato del script los ifs ver si existen alternativas
# Utilizar paths de python - construccion de paths pythonica.
# Utilizar el nombre del archivo.
# Buscar regex para eliminar etiquetas en cleanSVGStyles()
# Añadir contenido a un fichero.
# Migrar de OptionParser to https://docs.python.org/3/library/optparse.html
def _cleanSVGStyles(file):
print('Cleaning SVG....')
if __name__ == '__main__':
# Setup the command line arguments.
optp = OptionParser()
# Output verbosity options.
optp.add_option('-i', '--input', help='Input to generate icon, it ca be a folder', dest='input')
optp.add_option('-o', '--output', help='Output file', dest='output')
opts, args = optp.parse_args()
if opts.input and opts.output:
os.system('cat ' + opts.input + ' > ' + opts.output)
os.system('svgo ' + opts.output)
cleanSVGStyles(opts.output)
elif not opts.input and opts.output:
os.system('cat *.svg > ' + opts.output)
os.system('svgo ' + opts.output)
cleanSVGStyles(opts.output)
elif opts.input and not opts.output:
os.system('svgo ' + opts.input)
elif not opts.input and not opts.output:
optp.error('At list one value is required')
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment