Code Monkey home page Code Monkey logo

fontello-svg's Introduction

fontello-svg's People

Contributors

bpierre avatar chimo avatar yannickoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fontello-svg's Issues

Error 503 first byte timeout

Hey im getting the following error when trying to pull the down-open-big.svg from the fontelico set. I've tried other icons from the same set and try download fine as well as other icons from other sets.

Provide a Grunt task

Hi!

Thank you for the awesome tool! It does its job fine and save my time. You're awesome!

I decided to include fontello-svg into my deployment routine. I ended up using a grunt-shell task with these options:

shell: {                                // Task

        generateFontelloIcons: {            // Target
            options: {                      // Options
                stdout: true,
                stderr: true
            },
            command: "node_modules/.bin/fontello-svg -c fontello.json -o 'source/assets/images/icons' -f 'black:#000 | grey-dusty:#999 | grey-emperor:#555 | grey-mineshaft:#333 | white:#fff | red-guardsman:#b00'"
        }

    }

This work, but this is not a graceful way of using a Node.js package in Grunt.

I thought that i would just peek into the bin file bin/fontello-svg and create a simple custom Grunt task based on the bin file, but i discovered that the bin file contains 100 lines of code, and my total lack of Node.js knowledge prevents me from making a Grunt task out of it.

I humbly request that you consider refactoring fontello-svg and publishing a Grunt task that allows leveraging fontello-svg with a graceful Grunt config. Could be something like this:

module.exports = function(grunt) {
  grunt.initConfig({        

    fontello-svg: {
      config: 'fontello.json',
      output_dif: 'source/assets/images/icons',
      create_css: false,
      fill_colors: {
        black: '#000',
        grey-dusty: '#999',
        grey-emperor: '#555',
        grey-mineshaft: '#333',
        white: '#fff',
        red-guardsman: '#b00'
      }
    }

  });
}

'Not Found' in generated files

11 out of my 25 SVGs generated by fontello-svg have the string Not Found instead of the actual content. Verbose mode didn't help either.
Any clue how to get around this?

export svg from Custom font

in custom icon, fontello's config.js file contains codes like

"src": "custom_icons",
"svg": {
        "path": "M0 860L1000 860 1000 915 0 915 0 860ZM0 468L1000 468 1000 523 0 523 0 468ZM0 85L1000 85 1000 140 0 140 0 85Z",
        "width": 1000
      },

i want to export svg from this information.
this feature will make fontello-svg better.

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.