Comments (8)
Probably easy, I accept pull requests :)
from font-awesome-svg-png.
If I knew how to do that, that would be a pleasure to send a PR ;-)
from font-awesome-svg-png.
What exactly do you want to do with grunt?
from font-awesome-svg-png.
We need to automate project building using NPM, Bower and Grunt. We are using Font awesome, unfortunately, icons can't be displayed when printing on old Opera versions, Sogou (Chinese browser) and badly on IE8. The only solution is to provide for a PNG fallback.
Grunt copy, compile Less, concat JS, copy files... Now we need to generate PNG for font awesome icons.
As it's a huge project with changing developers, things has to be automated.
from font-awesome-svg-png.
You can generate them once and commit to your repo as PNGs. Also, the repo provides pre-generated version of black and white pngs.
from font-awesome-svg-png.
Yes that what we will do I think. Thank you!
from font-awesome-svg-png.
Also Font Awesome maintainers aren't very keen on adding very many fonts going forward.
People +1 requests on Font Awesome everyday, but to no avail (FortAwesome/Font-Awesome#492).
Infact, they have clearly stated that they are not accepting any pull requests: https://github.com/FortAwesome/Font-Awesome/blob/master/CONTRIBUTING.md#pull-requests
And rightly so, If FA would keep adding fonts left and right then it would become humongous very soon. And that is where Font Custom comes in (https://github.com/FontCustom/fontcustom).
from font-awesome-svg-png.
There already are two packages that work as grunt tasks:
https://www.npmjs.com/package/grunt-font-awesome-svg
https://www.npmjs.com/package/grunt-font-awesome-svg-png
No clue why aren't they using this lib as a dependency.
from font-awesome-svg-png.
Related Issues (20)
- Instagram HOT 2
- Missing file-th HOT 1
- Thanks for the inspiration - check out my package `font-awesome-assets` HOT 1
- Error on launching app HOT 7
- Issue with Font Awesome 4.7.0 HOT 1
- Cannot read property 'charCodeAt' of undefined HOT 10
- fa-user-circle missing HOT 2
- SVG is invalid HOT 5
- Bower deprecation; adding complete package to npm? HOT 3
- Asking users for opinion - padding or not? HOT 1
- Break generating svg HOT 1
- Wide icons are not full displayed in the github repo HOT 1
- Upgrade graceful-fs dependency HOT 1
- New icons in Font Awesome 5.0 HOT 6
- Nice job! See my repo `local-icons` in order to use these icons in a very easy way. HOT 4
- rsvg-convert.exe download link is dead
- SVG icon background
- Redo icon
- Licensing HOT 4
- Convert font-awesome pro icons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from font-awesome-svg-png.