This project provides a Font-Awesome build split to individual SVG and PNG files of different sizes along with Node.JS based generator to generate any other colors and sizes combinations.
Font Awesome is a full suite of 519 pictographic icons for easy scalable vector graphics on websites, created and maintained by Dave Gandy. Stay up to date @fontawesome.
Get started at http://fontawesome.io!
- The Font Awesome font is licensed under the SIL OFL 1.1:
- Font-Awesome-SVG-PNG is licensed under the MIT license
You may use already generated icons in white
and black
directories. You can also generate your own set:
Note: you need to have a command rsvg-convert
available.
Install via npm: npm install -g font-awesome-svg-png
.
Install via Bower: bower install font-awesome-svg-png
.
The following command will generate a red set of icons at sizes of 128 and 256 pixels in directory red
:
font-awesome-svg-png --color red --sizes 128,256
PNG creation depends on rsvg-convert
command being in the path.
You can skip PNG creation with --no-png
.
- Install node.js: https://nodejs.org/en/#download
- Open cmd.exe in the Font-Awesome-SVG-PNG directory
- Execute
npm install .
- Download https://osspack32.googlecode.com/files/rsvg-convert.exe
- Add the directory of rsvg-convert.exe to your PATH
- Try it by executing
node font-awesome-svg-png --color gray --sizes 16
sudo port install librsvg
That should give the necessary rsvg-convert
command.
For Debian rsvg-convert
in located in the librsvg2-bin
package.
sudo apt-get install librsvg2-bin
##Authors
- Damian Kaczmarek [email protected] @Rush
- Dominykas Blyžė [email protected] @dominykas