Oliver Schmidt

Results 14 comments of Oliver Schmidt

> 2. Icons must have a 1 pixel padding within the canvas. These Icons are currently to large: `award`, `coffee`, `coins`, `cpu`, `credit-card`, `crop`, `delete`, `dollar-sign`, `eye-off` `eye`, `github`, `map-pin`,...

Thanks. Great advice. Have reworked it with a little improvement: I centered it horizontally. Now it looks like: ![image](https://user-images.githubusercontent.com/33413922/186702336-e5552543-5a09-4d8d-aa89-1d0d611453a8.png) ``` ``` ![image](https://user-images.githubusercontent.com/33413922/186702063-a2fb4026-e79c-4615-8323-d19da71f0ab2.png) ``` ```

> I've tried to align it by centre of gravity rather than bounding box, but I guess the truth would be somewhere in-between, so how about bringing down the size...

I found more about this problem at [StackOverflow](https://stackoverflow.com/questions/72379177/auto-colour-fill-when-generate-font-from-svg-figma-icon-using-icomoon/72451714#72451714). Hope it is helpful. Searching for an node library for that problem.

Found a [library](https://github.com/oslllo/svg-fixer) for outlining svgs which worked for me well.

Hi @jimmyandrade, there is a 'simple' way to achieve this. I my case it was good enough to reuse the generated code points using a build script like this one....

Hi @vitto, please try using [SVGFixer](https://github.com/oslllo/svg-fixer) to outline the icons before converting them to font. Or use a [figma plugin](https://www.figma.com/community/plugin/771155994770327940/Fill-Rule-Editor) to change the winding rule from `even-odd` to `non-zero`.

> 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...

I think it can be closed as well.

I have encountered the same problem. The attribute `fill-rule="evenodd"` isn't respected (in my case) by the library [svgicons2svgfont](https://github.com/nfroidure/svgicons2svgfont/issues/62). Is there an option for converting the SVGs to paths with `fill-rule="nonzero"`?...