How to maintain an icon font from SVG files


Tags: css,web-applications,svg,fonts,icon-fonts

Problem :

We have an icon font (and relevant CSS code) for an icon font pack. However we need to add more icons to the pack or edit some of the current ones.

The question is: how can we do it without having an expensive font-design software? We've bought Glyph Mini for Mac but it would be great if there was a free service that you could just go there, upload your SVG files and get a new font file. That way you could have a directory full of SVG files and when you edit or add something, you can "compile" your own font. It would be even better if there was such compiler that we could use from command line. However, I haven't seen such tools.

Anyone aware of neat free solutions to this problem?



Solution :

I'd suggest you to use gulp-iconfont or even svgicons2svgfont/svg2ttf/ttf2eot/ttf2woff/ttf2woff2 for pure CLI toolchain, see https://github.com/nfroidure/svgiconfont/blob/master/package.json#L7.


    CSS Howto..

    How to word wrap text in HTML?

    how can I use of a php variable into a .css file

    How can I make CSS affect DOM elements generated after the CSS was interpreted?

    How do you create multiple box-shadow values in LESS CSS

    How to debug the different behavior of the same browser on the different platforms?

    How to restrict the css star selector * to a class and all decendants?

    How to auto adjust (stretch) div height and width using jQuery or CSS

    How can I prevent a flex container from overflowing/underflowing?

    How to avoid div width increase on hover

    How can I make it so that my logo on the top left of the page lines up with the text underneath it?

    c3.js - how to show hand cursor on bar chart hover

    How to style default confirm box with only css?

    How to cancel a too-broad CSS color declaration in a later stylesheet?

    How do you group similar n-th child selectors? [duplicate]

    CSS: How do I select CSS for all the
  • elements that do have not been styled yet?
  • How to change default message “Please enter a value with a valid mimetype.” for HTML file input

    css divs display:none reseting and showing divs when function is called

    How to move elements inside the left column of a 2 column css grid above and below the main content area on collapse

    CSS or Javascript href hover (or mouseover) showing additional clickable links

    How to slide these divs continuously in loop

    How to make footer invisible on making screen size smaller?

    How to give priority to a div in terms of overlapping divs on a drop down menu?

    how to use struts form fields (s:textfield, s:password) and style them using materializecss framework?

    How to adjust font awesome down arrow via css

    How to “reset” style in view page, set in css file

    How to add CSS class to password field using jquery in MVC?

    How can I delete unused css lines?

    How to enable top and bottom margins between a series of spans inside a div?

    The UI Designers and Marketing people at my company don't want “awkward line breaks”. How to do with CSS or JS? [closed]

    How can I make uneven rows for a 2-column grid with Bootstrap/css?