Git Product home page Git Product logo

Comments (8)

Rush avatar Rush commented on June 25, 2024

Probably easy, I accept pull requests :)

from font-awesome-svg-png.

lordfpx avatar lordfpx commented on June 25, 2024

If I knew how to do that, that would be a pleasure to send a PR ;-)

from font-awesome-svg-png.

Rush avatar Rush commented on June 25, 2024

What exactly do you want to do with grunt?

from font-awesome-svg-png.

lordfpx avatar lordfpx commented on June 25, 2024

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.

Rush avatar Rush commented on June 25, 2024

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.

lordfpx avatar lordfpx commented on June 25, 2024

Yes that what we will do I think. Thank you!

from font-awesome-svg-png.

shobhitg avatar shobhitg commented on June 25, 2024

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.

dominykas avatar dominykas commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.