thesabbir / simple-line-icons

Simple and Minimal Line Icons
https://thesabbir.github.io/simple-line-icons
MIT License
1.86k stars 846 forks source link

Create build script #52

Closed MichaelCereda closed 7 years ago

MichaelCereda commented 8 years ago

Hello, first of all, I really like this project and i think it's a very cute set of icons.

I wanted to help creating new icons but to avoid significative changes at every release i think that we should create a build script in order to standardize the process.

Let me know what do you think about that..

thesabbir commented 8 years ago

That would be great!

MichaelCereda commented 8 years ago

How are you building the whole icon package now?

mruz commented 8 years ago

I'm updating a .svg file in the fontforge and export to other formats. fontforge export to .svg, .ttf, .woff .woff2 https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a .eot ttf2eot

MichaelCereda commented 8 years ago

Ok.. great i'm thinking to create a build script using the followings

SVG2TTF https://github.com/fontello/svg2ttf

TTF2EOF https://github.com/fontello/ttf2eot

TTF2WOFF https://github.com/fontello/ttf2woff

TTF2WOFF2 https://github.com/nfroidure/ttf2woff2

it would be nice also to split the icons in different files in order to create a configurable build script that can allow people to load only the glyphs they need. SVG is a simple format, merging glyphs is very easy.

MichaelCereda commented 8 years ago

@mruz, which svg file are you uploading to fontforge? is it the one in the repo?

mruz commented 8 years ago

Yes, this one in the repo.

Also I'm removing metadata:

scour --indent=none --remove-metadata --quiet -i Simple-Line-Icons.svg -o Simple-Line-Icons.new.svg
thesabbir commented 7 years ago

no recent activity.