Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

SVG rendering with black background #55

Open
cs1193 opened this issue Aug 22, 2018 · 4 comments
Open

SVG rendering with black background #55

cs1193 opened this issue Aug 22, 2018 · 4 comments

Comments

@cs1193
Copy link

cs1193 commented Aug 22, 2018

I tried rendering svg icons to webfonts, but I am facing issue for few icons which renders with a black background, however when I do the same in IcoMoon generator it works fine.

Original SVG:
screen shot 2018-08-22 at 2 28 26 pm

As generated by webfonts-generator
screen shot 2018-08-22 at 2 25 47 pm

As generated by icomoon
screen shot 2018-08-22 at 2 25 59 pm

I tried to go with

formatOptions {
  svg: {
    normalize: false
  }
}

But no icons were rendered.
Any help here would be great.

@csclem
Copy link

csclem commented Sep 20, 2018

Up!

@guillaume-duchemin
Copy link

same issue here

@y-nk
Copy link

y-nk commented Oct 2, 2018

i had the same issue as well. it appears to come mostly from my svg files. multiple paths as well as the "even-odd" fill rule are quite messy to get around.

@guillaume-duchemin
Copy link

After search, I solve my problem by delete transparent background on my SVGs and simplify xml code with export options.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants