Allows you to generate stencil collection (definition) files for Pencil. This utility is written by keeping in mind the fact that the same utility can be modified to add support for generating stencils for multiple types of icon sets
Currently supports Font Awesome 5 both free version & pro version
- Make sure you have
java
installed on your system - Run
./gradlew clean build
from your terminal on Unix based machines (or) rungradlew.bat clean build
from command prompt in windows based machines
- Run
java -jar build/libs/pencil-stencil-generator-1.0.0-SNAPSHOT-all.jar
from command line/terminal
- Download font awesome premium icons from https://fontawesome.com/account/downloads
- Run
java -jar build/libs/pencil-stencil-generator-1.0.0-SNAPSHOT-all.jar --input <path to fontawesome-pro-x.y.z.zip>
from command line/terminal
- If you want to add support for a new Icon source, add a new entry to
IconSetType
- Implement interface
DefinitionGenerator
- Add an additional case statement in
StencilDefinitionGenerator.fetchParseAndWriteMetadata