svgtofont icon indicating copy to clipboard operation
svgtofont copied to clipboard

Heroicons SVGs with stroke lines...

Open macCesar opened this issue 4 years ago • 5 comments

Excellent tool!!!... I've created my first font from a bunch of SVGs on the first try!!!

But I have a problem with Heroicons.

The resulting fonts ( at least the .ttf versions ) were not converted correctly because most of the designs contain stroke lines instead of outlines.

Is there a way to auto-convert them to outlines before creating the font file ???

Thanks!!

macCesar avatar Aug 15 '20 02:08 macCesar

@macCesar I handled it through Sketch.

jaywcjlove avatar Aug 15 '20 02:08 jaywcjlove

Sketch the drawing app ???

I was hopping something automated...

My CLI tool depends on various packages including heroicons ( npm i heroicons ).

So I don't want to edit the SVG files everytime it gets updated! 😬

macCesar avatar Aug 15 '20 03:08 macCesar

I'm going to test this package:

https://www.npmjs.com/package/svg-outline-stroke

macCesar avatar Aug 15 '20 03:08 macCesar

@macCesar Welcome to submit PR. thx!

jaywcjlove avatar Aug 15 '20 03:08 jaywcjlove

Sure thing!! 👍

macCesar avatar Aug 15 '20 03:08 macCesar

I'm going to test this package:

https://www.npmjs.com/package/svg-outline-stroke

That package didn't work for me. After some days of work i found a solution based on https://docs.oslllo.com/svg-fixer/master/#/ . No changes need in svgtofont.

schmidt-oliver avatar Jun 29 '23 09:06 schmidt-oliver

@schmidt-oliver thx!

https://github.com/oslllo/svg-fixer

jaywcjlove avatar Jun 29 '23 13:06 jaywcjlove

I think it can be closed as well.

schmidt-oliver avatar Jul 03 '23 07:07 schmidt-oliver

  • https://github.com/jaywcjlove/svgtofont/issues/195#issuecomment-1609418046

jaywcjlove avatar Jul 03 '23 07:07 jaywcjlove