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 can I build a dynamic menu using CSS and JavaScript?

    How to test a CSS parser?

    jQuery how to click a pseudo class element :after [duplicate]

    How do I make my picture slideshow stay behind my header

    how to tint image in div when clicked for 0.5 seconds

    Test if is visible with ng-show attribute

    How to center a navbar

    How to repeat a menu without using iFrames or PHP in simple HTML/CSS or XML?

    How do I get the (element with the) highest CSS z-index in a document?

    How to deploy just HTML, CSS webpage to jetty?

    How to not make text colored within a href link but the text is also within div?

    how to break unordered list of links with image or color with css

    Hiding the content of a
    and showing another
    with different contents

    How to apply SVG filter to an element?

    How to trigger div visibility when hovering over list item in CSS?

    using jquery show/hide doesn't keep css in div

    How to change css from javascripts

    How to add event handlers to DIVS with CSS classes containing a particular string?

    AngularDart - How to style Component with global CSS in Google Chrome 35m (applyAuthorStyles is deprecated)

    How to move “+” to right i n css?

    How to find CSS deceleration for :hover state using Chrome's inspector

    How to assign C# variable to CSS class variable in ASP.NET MVC ActionLink

    How to shorten this placeholder-transitioning CSS selector using sass/compass?

    How to change nested divs within a named div to display as display:inline using CSS or jQuery selectors?

    Browser sizing Ctrl +/- :: How to manipulate settings?

    How to apply my class from css to checkbox? [duplicate]

    how to place div next to centered div css

    How to use 3 background images for a resizable layout in CSS?

    Css - how hide third element td?

    How to make jQuery show() stay on page