• Stars
    star
    3,216
  • Rank 13,961 (Top 0.3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 11 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Font Awesome split to individual SVG and PNG files of different sizes along with Node.JS based generator

Font-Awesome-SVG-PNG

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.

What is Font-Awesome?

Font Awesome is a full suite of 675 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!

License

  • The Font Awesome font is licensed under the SIL OFL 1.1:
  • Font-Awesome-SVG-PNG is licensed under the MIT license

How to use?

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

PNG creation depends on rsvg-convert command being in the path.

You can skip PNG creation with --no-png.

Windows support

  1. Install node.js: https://nodejs.org/en/#download
  2. Open cmd.exe in the Font-Awesome-SVG-PNG directory
  3. Execute npm install .
  4. Download https://osspack32.googlecode.com/files/rsvg-convert.exe
  5. Add the directory of rsvg-convert.exe to your PATH
  6. Try it by executing node font-awesome-svg-png --color gray --sizes 16

Mac OS X support

sudo port install librsvg
... or ...
brew install librsvg

That should give the necessary rsvg-convert command.

WARNING: Starting from librsvg 2.40.11 and onwards rsvg-convert produces empty images due to a breaking change that was introduced. At moment there's no workaround but to revert to librsvg 2.40.10 and below.

Linux support

For Debian rsvg-convert in located in the librsvg2-bin package.

sudo apt-get install librsvg2-bin

Authors

See also

You may also be interested in the following projects:

  • Dellos7/local-icons. List of CSS classes that allow you to use the Font-Awesome-SVG-PNG icons in your HTML & CSS in a very easy way. Just copy/paste - no need to import external CSS stylesheets.

More Repositories

1

link-module-alias

Register aliases of directories and custom module paths in Node - no require hook
JavaScript
307
star
2

node-screener

Recursively screen (whitelist) javascript objects with optional and flexible validation of fields. Useful for filtering documents fetched by Mongoose in Node.JS and for any REST APIs.
JavaScript
63
star
3

wayland-push-to-talk-fix

This fixes the inability to use push to talk in Discord when running Wayland
C++
50
star
4

node-authenticate-pam

Asynchronous PAM authentication for NodeJS
C++
46
star
5

publish-to-git

Publish private npm packages to Git repositories with npm publish semantics
JavaScript
44
star
6

promise-resolve-deep

Resolve a promise or value and all of its embedded promises (key values, elements of array, including nested)
JavaScript
10
star
7

ng-connect-state

Reactive components for Angular!
TypeScript
9
star
8

cpp-EventEmitter

Attach lightweight C++11 event emitting and handling capabilities to your existing C++ classes.
C++
7
star
9

PhunBall

HTML5 soccer game
JavaScript
5
star
10

jquery.touch-mouse

JavaScript
5
star
11

node-euvies

Resolve EU VAT identification numbers to company details.
JavaScript
4
star
12

ExTermProject

Project to create a viable terminal application in Qt5/QML exploring possible graphical capabilities of what terminal could do
C++
4
star
13

redis_expiremember_module

Rust
4
star
14

node-modules-cache

Skip "npm install" if currently existing node_modules has been built from the same package.json/package-lock.json
JavaScript
2
star
15

paulina-portfolio

HTML
1
star
16

deepkit-tests

TypeScript
1
star
17

codacy-test

Testing codacy
JavaScript
1
star
18

webdiscus-repro

TypeScript
1
star
19

ngcc-issue-repro

TypeScript
1
star
20

camera-server

Simple webcam image server
JavaScript
1
star
21

webdiscus-pug-webpack-example

JavaScript
1
star
22

express-router-api

TypeScript
1
star
23

webpack-trace-dep

CLI tool for finding out why a given file is included in a webpack bundle or a specific chunk
JavaScript
1
star
24

gizen

Easily create Github issues and assign zenhub points
JavaScript
1
star
25

mocha-finalize-each

Finalize each test in a mocha test suite and conditionally fail. This is a better afterEach.
JavaScript
1
star
26

app-compose

Development focused simpler alternative to Docker Compose that let's you run yours apps natively as well as in docker
JavaScript
1
star
27

node-jemalloc-tools

Node module for controlling jemalloc - extremely useful for native memory leak tracking
JavaScript
1
star