webfonts-generator
webfonts-generator copied to clipboard
SVG rendering with black background
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:
As generated by webfonts-generator
As generated by icomoon
I tried to go with
formatOptions {
svg: {
normalize: false
}
}
But no icons were rendered. Any help here would be great.
Up!
same issue here
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.
After search, I solve my problem by delete transparent background on my SVGs and simplify xml code with export options.