Workshape/icon-font-generator

Multiple icon fonts clash due to same (and non-settable) font-family name

tkafka opened this issue · 1 comments

Hello, I am using icon-font-generator to create multiple sets of icons (3 families of Streamline icons), but I can't use them together, because in generated icons.css file, all three variants get font-family: "icons". This way, I then import 3 css files, and the font definitions override each other.

I think this needs another parameter (similar to --prefix) to set the custom font-family name, so that I could generate each icon font with a specific font-family and use them on a same page.

Aha, this is what the n or name parameter means :).

fontName : args.n || args.name,